mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-26 01:04:29 +00:00
Remove some other redundant message parts
This commit is contained in:
1 parent
519a294917
commit
1835c03ce0
1 file changed
+4
-4
@@ -291,7 +291,7 @@ class AnnotatedMixins {
|
||||
public void registerOverwrite(TypeElement mixinType, ExecutableElement method) {
|
||||
AnnotatedMixin mixinClass = this.getMixin(mixinType);
|
||||
if (mixinClass == null) {
|
||||
this.printMessage(Kind.ERROR, "Found @Overwrite annotation on a non-mixin method " + method + " in " + mixinType, method);
|
||||
this.printMessage(Kind.ERROR, "Found @Overwrite annotation on a non-mixin method", method);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -310,7 +310,7 @@ class AnnotatedMixins {
|
||||
public void registerShadow(TypeElement mixinType, VariableElement field, AnnotationMirror shadow) {
|
||||
AnnotatedMixin mixinClass = this.getMixin(mixinType);
|
||||
if (mixinClass == null) {
|
||||
this.printMessage(Kind.ERROR, "Found @Shadow annotation on a non-mixin field " + field + " in " + mixinType, field);
|
||||
this.printMessage(Kind.ERROR, "Found @Shadow annotation on a non-mixin field", field);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -329,7 +329,7 @@ class AnnotatedMixins {
|
||||
public void registerShadow(TypeElement mixinType, ExecutableElement method, AnnotationMirror shadow) {
|
||||
AnnotatedMixin mixinClass = this.getMixin(mixinType);
|
||||
if (mixinClass == null) {
|
||||
this.printMessage(Kind.ERROR, "Found @Shadow annotation on a non-mixin method " + method + " in " + mixinType, method);
|
||||
this.printMessage(Kind.ERROR, "Found @Shadow annotation on a non-mixin method", method);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -348,7 +348,7 @@ class AnnotatedMixins {
|
||||
public void registerInjector(TypeElement mixinType, ExecutableElement method, AnnotationMirror inject) {
|
||||
AnnotatedMixin mixinClass = this.getMixin(mixinType);
|
||||
if (mixinClass == null) {
|
||||
this.printMessage(Kind.ERROR, "Found @Inject annotation on a non-mixin method " + method + " in " + mixinType, method);
|
||||
this.printMessage(Kind.ERROR, "Found @Inject annotation on a non-mixin method", method);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user