You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2014/09/10 08:44:09 UTC
[6/6] git commit: Delete unused class.
Delete unused class.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/47cf2d8e
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/47cf2d8e
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/47cf2d8e
Branch: refs/heads/master
Commit: 47cf2d8e2bcda5d0a366de9d672c592834823103
Parents: 6944f94
Author: Matt Sicker <ma...@apache.org>
Authored: Wed Sep 10 01:43:56 2014 -0500
Committer: Matt Sicker <ma...@apache.org>
Committed: Wed Sep 10 01:43:56 2014 -0500
----------------------------------------------------------------------
.../logging/log4j/jul/CustomJdkLevel.java | 40 --------------------
1 file changed, 40 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/47cf2d8e/log4j-jul/src/test/java/org/apache/logging/log4j/jul/CustomJdkLevel.java
----------------------------------------------------------------------
diff --git a/log4j-jul/src/test/java/org/apache/logging/log4j/jul/CustomJdkLevel.java b/log4j-jul/src/test/java/org/apache/logging/log4j/jul/CustomJdkLevel.java
deleted file mode 100644
index 64fd96d..0000000
--- a/log4j-jul/src/test/java/org/apache/logging/log4j/jul/CustomJdkLevel.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache license, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the license for the specific language governing permissions and
- * limitations under the license.
- */
-package org.apache.logging.log4j.jul;
-
-import java.util.logging.Level;
-
-/**
- * Custom JUL Level for unit tests.
- */
-public class CustomJdkLevel extends Level {
-
- private static final long serialVersionUID = 4681718777617726164L;
-
- protected CustomJdkLevel(final String name, final int value) {
- super(name, value);
- }
-
- // inside CONFIG range; should map to INFO
- public static final Level TEST = new CustomJdkLevel("TEST", 600);
-
- // just 1 below Level.SEVERE; should map to ERROR
- public static final Level DEFCON_2 = new CustomJdkLevel("DEFCON_2", 999);
-
- // above Level.SEVERE; should map to FATAL
- public static final Level DEFCON_1 = new CustomJdkLevel("DEFCON_1", 10000);
-}