Skip to content

Commit 8854905

Browse files
committed
Use a code comment, not Javadoc inside a method
1 parent c290185 commit 8854905

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎src/main/java/org/apache/commons/logging/impl/SimpleLog.java‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,19 @@ public class SimpleLog implements Log, Serializable {
116116

117117
/** "Trace" level logging. */
118118
public static final int LOG_LEVEL_TRACE = 1;
119+
119120
/** "Debug" level logging. */
120121
public static final int LOG_LEVEL_DEBUG = 2;
122+
121123
/** "Info" level logging. */
122124
public static final int LOG_LEVEL_INFO = 3;
125+
123126
/** "Warn" level logging. */
124127
public static final int LOG_LEVEL_WARN = 4;
128+
125129
/** "Error" level logging. */
126130
public static final int LOG_LEVEL_ERROR = 5;
131+
127132
/** "Fatal" level logging. */
128133
public static final int LOG_LEVEL_FATAL = 6;
129134

@@ -174,6 +179,7 @@ private static ClassLoader getContextClassLoader() {
174179
try {
175180
classLoader = Thread.currentThread().getContextClassLoader();
176181
} catch (final RuntimeException e) {
182+
177183
/**
178184
* getContextClassLoader() throws SecurityException when the context class loader isn't an ancestor of the calling class's class loader, or if
179185
* security permissions are restricted.
@@ -228,6 +234,7 @@ private static String getStringProperty(final String name, final String defaultV
228234
final String prop = getStringProperty(name);
229235
return prop == null ? defaultValue : prop;
230236
}
237+
231238
/** The name of this simple log instance */
232239
protected volatile String logName;
233240

‎src/test/java/org/apache/commons/logging/LogTestCase.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ public class LogTestCase extends AbstractLogTest {
2020

2121
@Override
2222
public Log getLogObject() {
23+
2324
/**
2425
* Pickup whatever is found/configured!
2526
*/

0 commit comments

Comments
 (0)