diff --git a/.classpath b/.classpath
index 3f9691c..d57ec02 100644
--- a/.classpath
+++ b/.classpath
@@ -1,8 +1,9 @@
-
+
+
diff --git a/src/com/badlogic/gdx/physics/box2d/joints/PulleyJointDef.java b/src/com/badlogic/gdx/physics/box2d/joints/PulleyJointDef.java
index 8a8a4e0..108ca22 100644
--- a/src/com/badlogic/gdx/physics/box2d/joints/PulleyJointDef.java
+++ b/src/com/badlogic/gdx/physics/box2d/joints/PulleyJointDef.java
@@ -23,7 +23,7 @@
/** Pulley joint definition. This requires two ground anchors, two dynamic body anchor points, max lengths for each side, and a
* pulley ratio. */
public class PulleyJointDef extends JointDef {
- private final static float minPulleyLength = 2.0f;
+ //private final static float minPulleyLength = 2.0f;
public PulleyJointDef () {
type = JointType.PulleyJoint;
@@ -42,7 +42,7 @@ public void initialize (Body bodyA, Body bodyB, Vector2 groundAnchorA, Vector2 g
lengthA = anchorA.dst(groundAnchorA);
lengthB = anchorB.dst(groundAnchorB);
this.ratio = ratio;
- float C = lengthA + ratio * lengthB;
+ //float C = lengthA + ratio * lengthB;
}
/** The first ground anchor in world coordinates. This point never moves. */
diff --git a/src/com/badlogic/gdx/utils/Array.java b/src/com/badlogic/gdx/utils/Array.java
index e11ae9f..3f32027 100644
--- a/src/com/badlogic/gdx/utils/Array.java
+++ b/src/com/badlogic/gdx/utils/Array.java
@@ -25,6 +25,7 @@
/** A resizable, ordered or unordered array of objects. If unordered, this class avoids a memory copy when removing elements (the
* last element is moved to the removed element's position).
* @author Nathan Sweet */
+@SuppressWarnings("unchecked")
public class Array implements Iterable {
/** Provides direct access to the underlying array. If the Array's generic type is not Object, this field may only be accessed
* if the {@link Array#Array(boolean, int, Class)} constructor was used. */
@@ -33,7 +34,7 @@ public class Array implements Iterable {
public int size;
public boolean ordered;
- private ArrayIterator iterator;
+ private ArrayIterator iterator;
/** Creates an ordered array with a capacity of 16. */
public Array () {
@@ -70,7 +71,7 @@ public Array (Class arrayType) {
/** Creates a new array containing the elements in the specified array. The new array will have the same type of backing array
* and will be ordered if the specified array is ordered. The capacity is set to the number of elements, so any subsequent
* elements added will cause the backing array to be grown. */
- public Array (Array array) {
+ public Array (Array array) {
this(array.ordered, array.size, (Class)array.items.getClass().getComponentType());
size = array.size;
System.arraycopy(array.items, 0, items, 0, size);
@@ -88,7 +89,7 @@ public Array (T[] array) {
* @param ordered If false, methods that remove elements may change the order of other elements in the array, which avoids a
* memory copy. */
public Array (boolean ordered, T[] array) {
- this(ordered, array.length, (Class)array.getClass().getComponentType());
+ this(ordered, array.length, (Class)array.getClass().getComponentType());
size = array.length;
System.arraycopy(array, 0, items, 0, size);
}
@@ -99,11 +100,11 @@ public void add (T value) {
items[size++] = value;
}
- public void addAll (Array array) {
+ public void addAll (Array array) {
addAll(array, 0, array.size);
}
- public void addAll (Array array, int offset, int length) {
+ public void addAll (Array array, int offset, int length) {
if (offset + length > array.size)
throw new IllegalArgumentException("offset + length must be <= size: " + offset + " + " + length + " <= " + array.size);
addAll((T[])array.items, offset, length);
@@ -305,7 +306,7 @@ public void shuffle () {
* time this method is called. Use the {@link ArrayIterator} constructor for nested or multithreaded iteration. */
public Iterator iterator () {
if (iterator == null)
- iterator = new ArrayIterator(this);
+ iterator = new ArrayIterator(this);
else
iterator.index = 0;
return iterator;
@@ -339,7 +340,7 @@ public V[] toArray (Class type) {
public boolean equals (Object object) {
if (object == this) return true;
if (!(object instanceof Array)) return false;
- Array array = (Array)object;
+ Array array = (Array)object;
int n = size;
if (n != array.size) return false;
Object[] items1 = this.items;
diff --git a/src/com/badlogic/gdx/utils/ComparableTimSort.java b/src/com/badlogic/gdx/utils/ComparableTimSort.java
index 532a942..0f3f4a6 100644
--- a/src/com/badlogic/gdx/utils/ComparableTimSort.java
+++ b/src/com/badlogic/gdx/utils/ComparableTimSort.java
@@ -206,7 +206,7 @@ private static void binarySort (Object[] a, int lo, int hi, int start) {
if (start == lo) start++;
for (; start < hi; start++) {
@SuppressWarnings("unchecked")
- Comparable