Skip to content

Commit 2a02c15

Browse files
committed
Fix some typos
1 parent f525162 commit 2a02c15

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

rollbar-java/src/main/java/com/rollbar/jvmti/ThrowableCache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ protected WeakHashMap<Throwable, CacheFrame[]> initialValue() {
1212
return new WeakHashMap<>();
1313
}
1414
};
15-
private ThrowableClass() {}
15+
private ThrowableCache() {}
1616

1717
public static void add(Throwable throwable, CacheFrame[] frames) {
1818
Map<Throwable, CacheFrame[]> weakMap = cache.get();

rollbar-java/src/main/java/com/rollbar/notifier/util/BodyFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ private static List<Frame> frames(ThrowableWrapper throwableWrapper) {
9292
StackTraceElement element = elements[i];
9393
Map<String, Object> locals = null;
9494
if (cachedFrames != null) {
95-
while (j >= 0 !cachedFrames[j].getMethod().getName().equals(element.getMethodName())) {
95+
while (j >= 0 && !cachedFrames[j].getMethod().getName().equals(element.getMethodName())) {
9696
j--;
9797
}
9898
if (j >= 0) {

0 commit comments

Comments
 (0)