mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 14:16:11 +00:00
[tests] removed a ridiculously exotic feature that still works, but is too hard to test
Specifically, using as custom logger topic a concatenated string, like literally `"A" + "B"`. It works, but depending on javac and phase of the moon that ends up as `"A" + "B"` or `"AB"`, and I don't think it's worthwhile for lombok to try to be consistent in this and test for that.
This commit is contained in:
3 files changed
-17
No files matched your search
@@ -29,8 +29,3 @@ class LoggerSlf4jWithTwoStaticFields {
|
||||
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LoggerSlf4jWithTwoStaticFields.TOPIC + LoggerSlf4jWithTwoStaticFields.TOPIC);
|
||||
static final String TOPIC = "StaticField";
|
||||
}
|
||||
|
||||
class LoggerSlf4jWithTwoLiterals {
|
||||
@java.lang.SuppressWarnings("all")
|
||||
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger("A" + "B");
|
||||
}
|
||||
@@ -56,11 +56,3 @@ class LoggerSlf4jOuter {
|
||||
super();
|
||||
}
|
||||
}
|
||||
@Slf4j(topic = ExtendedStringLiteral{AB}) class LoggerSlf4jWithTwoLiterals {
|
||||
private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger("AB");
|
||||
<clinit>() {
|
||||
}
|
||||
LoggerSlf4jWithTwoLiterals() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
@@ -28,7 +28,3 @@ class LoggerSlf4jWithStaticField {
|
||||
class LoggerSlf4jWithTwoStaticFields {
|
||||
static final String TOPIC = "StaticField";
|
||||
}
|
||||
|
||||
@Slf4j(topic="A"+"B")
|
||||
class LoggerSlf4jWithTwoLiterals {
|
||||
}
|
||||
Reference in new issue
Block a user