xiaoshengjie 2 years ago
parent 28c33f858a
commit 77222b80fc

@ -1,30 +0,0 @@
t java:S115"ZRename this constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.(«¶ó•ûÿÿÿÿ
t java:S115"ZRename this constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.(“ƒÎ³øÿÿÿÿ
<
java:S1170"!Make this final field static too.(ñ‹œÞþÿÿÿÿ
Q java:S125"<This block of commented-out lines of code should be removed.(“‰<E2809C>÷
Q java:S125"<This block of commented-out lines of code should be removed.(ÝŠÐò
V java:S125"<This block of commented-out lines of code should be removed.(¥·ïãøÿÿÿÿ
Q java:S125"<This block of commented-out lines of code should be removed.(„üº¨
V java:S125'"<This block of commented-out lines of code should be removed.(äüø©øÿÿÿÿ
Q java:S125+"<This block of commented-out lines of code should be removed.(ã…éã
V java:S125-"<This block of commented-out lines of code should be removed.(ñ¥ùšøÿÿÿÿ
Q java:S125:"<This block of commented-out lines of code should be removed.(½·¥¯
V java:S125C"<This block of commented-out lines of code should be removed.(׈¼Œûÿÿÿÿ
Q java:S125S"<This block of commented-out lines of code should be removed.(ÛûÏÝ
Q java:S125g"<This block of commented-out lines of code should be removed.(óÆ<C3B3>Ò
T java:S106"9Replace this use of System.out or System.err by a logger.(‡³›ªøÿÿÿÿ
C
java:S1602²",Remove useless curly braces around statement(¥—ýð
W java:S125É"<This block of commented-out lines of code should be removed.(¿ÿÅ<C3BF>ýÿÿÿÿ
\
java:S1128"ARemove this unused import 'com.study.tank.strategy.FireStrategy'.(·ôÞ<C3B4>úÿÿÿÿ
b
java:S1128"LRemove this unused import 'com.study.tank.strategy.Imp.DefaultFireStrategy'.(ÿŸ‰Û
h
java:S1128"MRemove this unused import 'com.study.tank.strategy.Imp.GoodTankFireStrategy'.(±ÿ<C2B1>¯ýÿÿÿÿ
j
java:S1104"OMake dir a static final constant or non-public and provide accessors if needed.(³Ó‚ªüÿÿÿÿ
k
java:S1104"UMake tankFrame a static final constant or non-public and provide accessors if needed.(¼¹’’

@ -0,0 +1,3 @@
j
java:S1104 "UMake rectangle a static final constant or non-public and provide accessors if needed.(ÁÛ¯?

@ -0,0 +1,10 @@
:
java:S1659
"Declare "y" on a separate line.(‰«¥’üÿÿÿÿ
o
java:S1104
"MMake x a static final constant or non-public and provide accessors if needed.(‰«¥’üÿÿÿÿ8‰ÉÃëÁ0
o
java:S1104
"MMake y a static final constant or non-public and provide accessors if needed.(‰«¥’üÿÿÿÿ8‰ÉÃëÁ0

@ -1,28 +0,0 @@
7 java:S131_""Add a default case to this switch.(°Ó<C2B0>÷
S java:S106t"9Replace this use of System.out or System.err by a logger.(¢ƒÀ™ÿÿÿÿÿ
7 java:S131u""Add a default case to this switch.(°Ó<C2B0>÷
^
java:S1126Š"BReplace this if-then-else statement by a single method invocation.(Ò¦ºÚûÿÿÿÿ
t
java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(­´³•úÿÿÿÿ
t
java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(¡ã˜Ôúÿÿÿÿ
o
java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(‹†²É

java:S1319"eThe type of "tanks" should be an interface such as "List" rather than the implementation "ArrayList".(­´³•úÿÿÿÿ8éÙ±Á0

java:S1319"gThe type of "bullets" should be an interface such as "List" rather than the implementation "ArrayList".(¡ã˜Ôúÿÿÿÿ¸³Á0

java:S1319"hThe type of "explodes" should be an interface such as "List" rather than the implementation "ArrayList".(‹†²É¸³Á0
s
java:S1104"QMake tanks a static final constant or non-public and provide accessors if needed.(­´³•úÿÿÿÿ¸³Á0
t
java:S1104"RMake myTank a static final constant or non-public and provide accessors if needed.(Ÿ«é‚üÿÿÿÿ¸³Á0
u
java:S1104"SMake bullets a static final constant or non-public and provide accessors if needed.(¡ã˜Ôúÿÿÿÿ¸³Á0
q
java:S1104"TMake explodes a static final constant or non-public and provide accessors if needed.(‹†²É8êÙ±Á0
p
java:S1104"NMake gf a static final constant or non-public and provide accessors if needed.(ÓÊ´<C38A>ÿÿÿÿÿ¸³Á0

@ -29,8 +29,6 @@ a
1src/main/java/com/study/tank/factory/WarTank.java,7\0\70f82ce88ac6b54afd6eed03fe6951084561b5c5
e
5src/main/java/com/study/tank/factory/RectFactory.java,4\6\469cb43b51ba7e207f3767d69d0e3deded4e3c93
V
&src/main/java/com/study/tank/Tank.java,0\8\081d67b31c95c91f6926f605dfc94fdd2bada262
Z
*src/main/java/com/study/tank/TestMain.java,f\0\f05c3638610e0ce274846e174c61431121775426
h
@ -42,6 +40,4 @@ Bsrc/main/java/com/study/tank/strategy/Imp/DefaultFireStrategy.java,e\b\ebd48d6
W
'src/main/java/com/study/tank/Audio.java,5\b\5bd8e55a95e8e3ef2459b7d56ee9a74443b8f788
[
+src/test/java/com/study/tank/ImageTest.java,9\7\97cf6348e49d166ce567c6eb53c9d085ee3b786c
[
+src/main/java/com/study/tank/TankFrame.java,c\d\cd8bb0d273a44e56af2c725281536ed379107cc0
+src/test/java/com/study/tank/ImageTest.java,9\7\97cf6348e49d166ce567c6eb53c9d085ee3b786c

Binary file not shown.

Binary file not shown.

@ -0,0 +1,9 @@
#tanks count at initialization
initTankCount=10
tankSpeed=5
bulletSpeed=10
gameWidth=1080
gameHeight=720
#strategy
goodFs=com.study.tank.strategy.Imp.GoodTankFireStrategy
badFs=com.study.tank.strategy.Imp.DefaultFireStrategy

Binary file not shown.

After

Width:  |  Height:  |  Size: 824 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 868 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 936 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 855 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 852 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 847 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1022 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 814 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 460 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 846 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 864 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 863 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 861 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 863 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 670 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 680 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 677 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 660 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 691 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 674 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save