You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
** CID 464526: SpotBugs: Bad practice (FB.VA_FORMAT_STRING_USES_NEWLINE)
/src/main/java/com/teragrep/rlp_03/frame/delegate/event/RelpEventOpen.java: 78 in com.teragrep.rlp_03.frame.delegate.event.RelpEventOpen.<init>(com.teragrep.rlp_03.version.Version)()
________________________________________________________________________________________________________
*** CID 464526: SpotBugs: Bad practice (FB.VA_FORMAT_STRING_USES_NEWLINE)
/src/main/java/com/teragrep/rlp_03/frame/delegate/event/RelpEventOpen.java: 78 in com.teragrep.rlp_03.frame.delegate.event.RelpEventOpen.<init>(com.teragrep.rlp_03.version.Version)()
72 this.fragmentFactory = new FragmentFactory();
73 this.version = version;
74
75 Fragment txn = new FragmentStub();
76 Fragment command = fragmentFactory.create("rsp");
77 String payloadContent = String
>>> CID 464526: SpotBugs: Bad practice (FB.VA_FORMAT_STRING_USES_NEWLINE)
>>> Format string should use %n rather than \n.
78 .format(
79 "200 OK\nrelp_version=0\nrelp_software=rlp_03,%s,https://teragrep.com\ncommands=syslog\n",
80 this.version.version()
81 );
82 Fragment payload = fragmentFactory.create(payloadContent);
83 long payloadSize = payload.size();
Expected behavior
No warnings
Software version
Current
The text was updated successfully, but these errors were encountered:
Describe the bug
Expected behavior
No warnings
Software version
Current
The text was updated successfully, but these errors were encountered: