Skip to content

Commit 1e355c5

Browse files
author
Vladimir Kotal
committed
fix static method access
1 parent 5670a47 commit 1e355c5

File tree

1 file changed

+1
-1
lines changed
  • opengrok-indexer/src/main/java/org/opengrok/indexer/util

1 file changed

+1
-1
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/util/Executor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ public void processStream(InputStream input) throws IOException {
381381

382382
public static void registerErrorHandler() {
383383
UncaughtExceptionHandler dueh =
384-
Thread.currentThread().getDefaultUncaughtExceptionHandler();
384+
Thread.getDefaultUncaughtExceptionHandler();
385385
if (dueh == null) {
386386
LOGGER.log(Level.FINE, "Installing default uncaught exception handler");
387387
Thread.setDefaultUncaughtExceptionHandler(new UncaughtExceptionHandler() {

0 commit comments

Comments
 (0)