Commit Graph

635 Commits

Author SHA1 Message Date
Rsl1122
4f2a946203 Merge branch '3.7.0' into master 2017-08-16 19:16:29 +03:00
Rsl1122
40c5834a8e Reduce complexity 2017-08-16 19:15:30 +03:00
Fuzzlemann
023b3f666f Extract nested ternary operations into independent statements 2017-08-16 18:07:10 +02:00
Fuzzlemann
a060182e49 Rename 'message' to 'content'
Use 'p' in Message#toArray(Serializable...)
2017-08-16 17:58:27 +02:00
Fuzzlemann
f2ce603f37 Replace HashMap with EnumMap 2017-08-16 17:56:02 +02:00
Fuzzlemann
73cbf73d78 Rename bStats to metrics
Remove '"" +'
2017-08-16 17:51:32 +02:00
Rsl1122
268dae902f Rename VARCHAR to varchar 2017-08-16 18:38:19 +03:00
Fuzzlemann
c615d9f9a2 Merge branch '3.7.0' of https://github.com/Rsl1122/Plan-PlayerAnalytics 2017-08-16 17:14:51 +02:00
Fuzzlemann
44fcb9ec7b Fixes failing of test when Hastebin is not available 2017-08-16 17:14:11 +02:00
Rsl1122
5204d52d78 SQL parsing for Table creation statements 2017-08-16 17:56:06 +03:00
Fuzzlemann
2a12e93ef7 Add a case when Hastebin is not available 2017-08-16 16:52:16 +02:00
Fuzzlemann
4e34eb170d Add tests for Hastebin 2017-08-16 16:41:51 +02:00
Fuzzlemann
c831ccb9ec Separates the Hastebin upload part into an external class
Fixes a bug in the uploading to Hastebin
2017-08-16 16:25:42 +02:00
Fuzzlemann
951432b504 Add throwing of IllegalStateException when instantiating DumpUtils 2017-08-16 15:56:02 +02:00
Fuzzlemann
e18f40b870 Add /* Ignored */ to ignored Throwables 2017-08-16 15:54:53 +02:00
Rsl1122
bd96d09b74 Fix statement not being closed 2017-08-16 16:32:37 +03:00
Rsl1122
e3333fabb8 Removed Locations table 2017-08-16 16:27:36 +03:00
Rsl1122
4411e18708 Fix test failing 2017-08-16 13:45:45 +03:00
Rsl1122
ffa27e7806 Cleanup 2017-08-16 13:44:27 +03:00
Rsl1122
4d7ac8216e Added Process & Get Queue tests
Fixed TestInit (ColorScheme was missing)
2017-08-16 13:38:11 +03:00
Rsl1122
10ea5b1be3 Bypassed Bukkit Scheduler mock by overriding APF RunnableFactory methods in TestInit 2017-08-16 13:13:28 +03:00
Rsl1122
baec9dd220 Added Locale to TestInit 2017-08-16 12:55:08 +03:00
Rsl1122
174eaa7f31 Made loop continue statements easier to understand
Removed ScatterGraphCreator
2017-08-16 12:22:54 +03:00
Rsl1122
26ab4e94d2 removed IllegalStateException throws from method signatures
changed Exception to IllegalArgumentException in the renamed API method
RawData: optimized placeholder String creation method
DataCacheClearQueue: fixed Reuse of method parameter
DataCacheGetQueue: removed nested try block
DeathEventListener: better catch

Removed duplicate user removal code with introduction of UserIDTable

Removed some debug messages that are not useful
2017-08-16 11:54:29 +03:00
Rsl1122
d3a7f5adae removed NumberFormatException, IllegalArgumentException,UnsupportedOperationException, NullPointerException throws from method signatures
Rename tps in TPS
Rename & deprecated old API method with typo
Removed unnecessary plan constructor
2017-08-16 11:09:25 +03:00
Rsl1122
0c210f4877 removed NumberFormatException, IllegalArgumentException,UnsupportedOperationException, NullPointerException throws from method signatures 2017-08-16 10:53:38 +03:00
Rsl1122
bf21aae791 removed IllegalStateException or IllegalArgumentException throws from method signatures 2017-08-16 10:44:03 +03:00
Rsl1122
6a29bfae16 Fixes sonar bugs & vulnerabilities:
createNewFile not required with Files.write "In other words, it opens the file for writing, creating the file if it doesn't exist, --"

https://docs.oracle.com/javase/7/docs/api/java/nio/file/Files.html#write(java.nio.file.Path,%20byte[],%20java.nio.file.OpenOption...)
2017-08-16 10:42:00 +03:00
Rsl1122
156aef8ce4 Improved PassEncryptTest runtime from 12s to 4s
Added debug varargs method
2017-08-16 10:14:36 +03:00
Rsl1122
99da328544 Merge pull request #252 from Fuzzlemann/master
PR for 3.6.3 (Fuzzlemann) (4)
2017-08-16 10:04:20 +03:00
Fuzzlemann
b1c5b69d42 Add testFormatTimeStampSecond()
Add Check Tests
2017-08-16 01:03:13 +02:00
Fuzzlemann
ae40605251 Removes that Locale implements Closeable 2017-08-15 22:30:50 +02:00
Fuzzlemann
401028333e Remove some more deprecated methods 2017-08-15 22:13:06 +02:00
Fuzzlemann
f064997840 "De-deprecate" setUp and make it private 2017-08-15 22:05:30 +02:00
Fuzzlemann
286a5aa0e4 Fix PassEncryptTest 2017-08-15 21:44:04 +02:00
Fuzzlemann
0b7b270f78 Add ServerVariableHolder & PassEncryptUtil Tests 2017-08-15 21:26:36 +02:00
Fuzzlemann
24fa0c8599 Remove unnecessary casts 2017-08-15 20:01:06 +02:00
Fuzzlemann
3a67a74201 Fix tests 2017-08-15 19:35:23 +02:00
Rsl1122
45aaaaafeb Merge pull request #244 from Fuzzlemann/master
PR for 3.6.3 (Fuzzlemann) (3)
2017-08-15 20:31:14 +03:00
Fuzzlemann
02e01a49f7 Fix tests 2017-08-15 19:28:37 +02:00
Fuzzlemann
19b3df3d12 Fix tests 2017-08-15 19:14:26 +02:00
Fuzzlemann
fd68be94ee Merge branch '3.7.0' of https://github.com/Rsl1122/Plan-PlayerAnalytics 2017-08-15 19:08:46 +02:00
Fuzzlemann
9c886a16b4 Move tests 2017-08-15 19:07:32 +02:00
Rsl1122
84f0ef5e1c Add a todo 2017-08-15 18:33:51 +03:00
Fuzzlemann
dc262a76f0 Re-enable tests for FormatTimeStamp 2017-08-15 15:10:58 +02:00
Fuzzlemann
725981120a Merge branch 'master' of https://github.com/Fuzzlemann/Plan-PlayerAnalytics 2017-08-15 15:10:40 +02:00
Fuzzlemann
e22302a556 Merge branch '3.7.0' of https://github.com/Rsl1122/Plan-PlayerAnalytics 2017-08-15 15:07:31 +02:00
Fuzzlemann
1dab1f9adf Re-enable tests for FormatTimeStamp 2017-08-15 15:02:06 +02:00
Rsl1122
7e9b64bf34 Merge branch '3.7.0' into master 2017-08-15 15:09:24 +03:00
Rsl1122
a2c4f150c5 Reverts commit 59da922490. 2017-08-15 15:06:41 +03:00