Skip to content

Commit 69b0864

Browse files
committed
Move message argument to last position
1 parent a90b1fd commit 69b0864

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • AndroidAnnotations/androidannotations-core/androidannotations/src/main/java/org/androidannotations

‎AndroidAnnotations/androidannotations-core/androidannotations/src/main/java/org/androidannotations/internal/process/ModelValidator.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public AnnotationElements validate(AnnotationElements extractedModel, Annotation
7171

7272
AnnotationMirror annotationMirror = elementValidation.getAnnotationMirror();
7373
for (ElementValidation.Error error : elementValidation.getErrors()) {
74-
LOGGER.error(error.getMessage(), error.getElement(), annotationMirror);
74+
LOGGER.error(error.getElement(), annotationMirror, error.getMessage());
7575
}
7676

7777
for (String warning : elementValidation.getWarnings()) {

‎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
@@ -69,7 +69,7 @@ public void error(Element element, Throwable thr, String message, Object... args
6969
log(Level.ERROR, message, element, null, thr, args);
7070
}
7171

72-
public void error(String message, Element element, AnnotationMirror annotationMirror) {
72+
public void error(Element element, AnnotationMirror annotationMirror, String message) {
7373
log(Level.ERROR, message, element, annotationMirror, null);
7474
}
7575

0 commit comments

Comments
 (0)