Skip to content

Commit 4ddc09a

Browse files
committed
Move thr argument infront of the message
1 parent f94b666 commit 4ddc09a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

AndroidAnnotations/androidannotations-core/androidannotations/src/main/java/org/androidannotations/internal/AndroidAnnotationProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public synchronized void init(ProcessingEnvironment processingEnv) {
9191
plugins.add(0, corePlugin);
9292
androidAnnotationsEnv.setPlugins(plugins);
9393
} catch (Exception e) {
94-
LOGGER.error("Can't load plugins", e);
94+
LOGGER.error(e, "Can't load plugins");
9595
}
9696
}
9797

AndroidAnnotations/androidannotations-core/androidannotations/src/main/java/org/androidannotations/logger/Logger.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public void error(Element element, String message, Object... args) {
6161
error(message, element, null, args);
6262
}
6363

64-
public void error(String message, Throwable thr, Object... args) {
64+
public void error(Throwable thr, String message, Object... args) {
6565
error(message, null, thr, args);
6666
}
6767

0 commit comments

Comments
 (0)