Fixed warnings

This commit is contained in:
M66B
2018-12-09 15:49:43 +01:00
parent 70b5c51db9
commit d73544c584
15 changed files with 49 additions and 59 deletions

View File

@@ -142,7 +142,7 @@ public class EntityMessage implements Serializable {
public Long last_attempt; // send
static String generateMessageId() {
StringBuffer sb = new StringBuffer();
StringBuilder sb = new StringBuilder();
sb.append('<')
.append(Math.abs(new Random().nextInt())).append('.')
.append(System.currentTimeMillis()).append('.')