File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
src/main/java/com/buabook/kdb/publisher Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 89
89
<show >private</show >
90
90
<author >true</author >
91
91
<nohelp >true</nohelp >
92
+
93
+ <links >
94
+ <link >https://buabook.github.io/javadoc/buabook-common/</link >
95
+ </links >
92
96
</configuration >
93
97
<executions >
94
98
<execution >
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public KdbPublisherManager() {
38
38
39
39
public void addPublisher (KdbProcess server ) throws KdbTargetProcessUnavailableException , KdbPublisherAlreadyExistsException {
40
40
if (publishers .containsKey (server )) {
41
- log .error ("This manager already contains a publisher to this KDB process! [ Process: " + server . toString () + " ]" );
41
+ log .error ("This manager already contains a publisher to this KDB process! [ Process: {} ]" , server );
42
42
throw new KdbPublisherAlreadyExistsException (server .toString ());
43
43
}
44
44
@@ -80,11 +80,11 @@ public List<KdbProcess> getTargetProcesses() {
80
80
*/
81
81
public void disconnect (KdbProcess server ) throws KdbPublisherDoesNotExistException {
82
82
if (! publishers .containsKey (server )) {
83
- log .error ("The specified KDB process does not exist within this manager [ Process: " + server . toString () + " ]" );
83
+ log .error ("The specified KDB process does not exist within this manager [ Process: {} ]" , server );
84
84
throw new KdbPublisherDoesNotExistException (server .toString ());
85
85
}
86
86
87
- log .info ("Disconnect request received for server: " + server . toString () );
87
+ log .info ("Disconnect request received for server: {}" , server );
88
88
89
89
publishers .get (server ).disconnect ();
90
90
publishers .remove (server );
You can’t perform that action at this time.
0 commit comments