projects
/
debian
/
openrocket
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor changes for Froyo compatibility.
[debian/openrocket]
/
core
/
src
/
net
/
sf
/
openrocket
/
rocketcomponent
/
FinSet.java
diff --git
a/core/src/net/sf/openrocket/rocketcomponent/FinSet.java
b/core/src/net/sf/openrocket/rocketcomponent/FinSet.java
index 5e40810b4749fc1268648d7d9da484a049c7e3b1..4b8d58058cb98232e147b516f83ec538139481ea 100644
(file)
--- a/
core/src/net/sf/openrocket/rocketcomponent/FinSet.java
+++ b/
core/src/net/sf/openrocket/rocketcomponent/FinSet.java
@@
-7,6
+7,7
@@
import java.util.List;
import net.sf.openrocket.l10n.Translator;
import net.sf.openrocket.startup.Application;
import net.sf.openrocket.l10n.Translator;
import net.sf.openrocket.startup.Application;
+import net.sf.openrocket.util.ArrayUtils;
import net.sf.openrocket.util.Coordinate;
import net.sf.openrocket.util.MathUtil;
import net.sf.openrocket.util.Transformation;
import net.sf.openrocket.util.Coordinate;
import net.sf.openrocket.util.MathUtil;
import net.sf.openrocket.util.Transformation;
@@
-675,7
+676,7
@@
public abstract class FinSet extends ExternalComponent {
double y = -getTabHeight();
int n = points.length;
double y = -getTabHeight();
int n = points.length;
- points = Arrays.copyOf(points, points.length + 4);
+ points = Array
Util
s.copyOf(points, points.length + 4);
points[n] = new Coordinate(x2, 0);
points[n + 1] = new Coordinate(x2, y);
points[n + 2] = new Coordinate(x1, y);
points[n] = new Coordinate(x2, 0);
points[n + 1] = new Coordinate(x2, y);
points[n + 2] = new Coordinate(x1, y);