Bladeren bron

Code beautification…

Thomas Buck 12 jaren geleden
bovenliggende
commit
9be6492922
3 gewijzigde bestanden met toevoegingen van 1 en 13 verwijderingen
  1. 0
    11
      CubeControl/Animation.java
  2. 0
    1
      CubeControl/AnimationUtility.java
  3. 1
    1
      CubeControl/HelperUtility.java

+ 0
- 11
CubeControl/Animation.java Bestand weergeven

@@ -170,17 +170,6 @@ public class Animation {
170 170
 		frames = newArray;
171 171
 	}
172 172
 
173
-	/* private void shiftSpace(int newFree) {
174
-		AFrame temp = null;
175
-		for (int i = newFree; i < (frames.length - 1); i++) {
176
-			// Max i: vorletztes element
177
-			AFrame tmp = frames[i];
178
-			frames[i] = temp;
179
-			temp = frames[i + 1];
180
-			frames[i + 1] = tmp;
181
-		}
182
-	} */
183
-
184 173
 	private void shiftOver(int toForget) {
185 174
 		for (int i = (toForget + 1); i < frames.length; i++) {
186 175
 			frames[i - 1] = frames[i];

+ 0
- 1
CubeControl/AnimationUtility.java Bestand weergeven

@@ -69,7 +69,6 @@ public class AnimationUtility {
69 69
 		for (int i = 0; i < animationArray.length; i++) {
70 70
 			newArray[i] = animationArray[i];
71 71
 		}
72
-		//animations = newArray;
73 72
 		return newArray;
74 73
 	}
75 74
 

+ 1
- 1
CubeControl/HelperUtility.java Bestand weergeven

@@ -36,7 +36,7 @@ import java.util.StringTokenizer;
36 36
 public class HelperUtility {
37 37
 
38 38
 	// Load libraries, copy from Jar if needed
39
-	// Mostly from:
39
+	// Inspired by:
40 40
 	// http://stackoverflow.com/questions/1611357/how-to-make-a-jar-file-that-include-dll-files
41 41
 	static {
42 42
 		// System.out.println("Loading Serial Library...");

Laden…
Annuleren
Opslaan