1
0

Redundant semi-colons

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362959 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley
2012-07-18 14:14:29 +00:00
parent 7297a70b96
commit 66c1dcbf47
4 changed files with 10 additions and 10 deletions

View File

@@ -511,7 +511,7 @@ public abstract class LogFactory {
+ ": [" + trim(e.getMessage())
+ "]. Trying alternative implementations...");
}
; // ignore
// ignore
} catch(RuntimeException e) {
// This is not consistent with the behaviour when a bad LogFactory class is
// specified in a services file.
@@ -588,7 +588,7 @@ public abstract class LogFactory {
+ ": [" + trim(ex.getMessage())
+ "]. Trying alternative implementations...");
}
; // ignore
// ignore
}
}
@@ -922,7 +922,7 @@ public abstract class LogFactory {
* we can make a distinction.
*/
if (e.getTargetException() instanceof SecurityException) {
; // ignore
// ignore
} else {
// Capture 'e.getTargetException()' exception for details
// alternate: log 'e.getTargetException()', and pass back 'e'.

View File

@@ -115,7 +115,7 @@ public class LogSource {
setLogImplementation
("org.apache.commons.logging.impl.NoOpLog");
} catch (Throwable u) {
;
// ignored
}
}
} else {
@@ -135,7 +135,7 @@ public class LogSource {
setLogImplementation
("org.apache.commons.logging.impl.NoOpLog");
} catch (Throwable u) {
;
// ignored
}
}
}

View File

@@ -140,7 +140,7 @@ public class SimpleLog implements Log, Serializable {
try {
prop = System.getProperty(name);
} catch (SecurityException e) {
; // Ignore
// Ignore
}
return (prop == null) ? simpleLogProps.getProperty(name) : prop;
}
@@ -661,7 +661,7 @@ public class SimpleLog implements Log, Serializable {
classLoader = (ClassLoader)method.invoke(Thread.currentThread(),
(Class[]) null);
} catch (IllegalAccessException e) {
; // ignore
// ignore
} catch (InvocationTargetException e) {
/**
* InvocationTargetException is thrown by 'invoke' when
@@ -680,7 +680,7 @@ public class SimpleLog implements Log, Serializable {
* we can make a distinction.
*/
if (e.getTargetException() instanceof SecurityException) {
; // ignore
// ignore
} else {
// Capture 'e.getTargetException()' exception for details
// alternate: log 'e.getTargetException()', and pass back 'e'.
@@ -690,7 +690,7 @@ public class SimpleLog implements Log, Serializable {
}
} catch (NoSuchMethodException e) {
// Assume we are running on JDK 1.1
; // ignore
// ignore
}
}

View File

@@ -28,7 +28,7 @@ import junit.framework.TestCase;
*/
public class NullTCCLTestCase extends TestCase {
public static Test suite() throws Exception {;
public static Test suite() throws Exception {
PathableTestSuite suite = new PathableTestSuite(NullTCCLTestCase.class, null);
return suite;
}