summaryrefslogtreecommitdiff
path: root/java/src/IceUtil/Assert.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/IceUtil/Assert.java')
-rw-r--r--java/src/IceUtil/Assert.java46
1 files changed, 23 insertions, 23 deletions
diff --git a/java/src/IceUtil/Assert.java b/java/src/IceUtil/Assert.java
index cd74fc4932b..d5745cc378e 100644
--- a/java/src/IceUtil/Assert.java
+++ b/java/src/IceUtil/Assert.java
@@ -18,28 +18,28 @@ public final class Assert
public static void
FinalizerAssert(boolean b)
{
- if(!b)
- {
- //
- // Create a Throwable to obtain the stack trace.
- //
- Throwable t = new Throwable();
- StackTraceElement[] trace = t.getStackTrace();
- if(trace.length > 1)
- {
- //
- // Skip the first frame, which represents this method.
- //
- System.err.println("Assertion failure:");
- for(int i = 1; i < trace.length; ++i)
- {
- System.err.println("\tat " + trace[i]);
- }
- }
- else
- {
- System.err.println("Assertion failure (no stack trace information)");
- }
- }
+ if(!b)
+ {
+ //
+ // Create a Throwable to obtain the stack trace.
+ //
+ Throwable t = new Throwable();
+ StackTraceElement[] trace = t.getStackTrace();
+ if(trace.length > 1)
+ {
+ //
+ // Skip the first frame, which represents this method.
+ //
+ System.err.println("Assertion failure:");
+ for(int i = 1; i < trace.length; ++i)
+ {
+ System.err.println("\tat " + trace[i]);
+ }
+ }
+ else
+ {
+ System.err.println("Assertion failure (no stack trace information)");
+ }
+ }
}
}