diff --git a/.idea/artifacts/openrocket_jar.xml b/.idea/artifacts/openrocket_jar.xml index 119b4f763..7d3ff7107 100644 --- a/.idea/artifacts/openrocket_jar.xml +++ b/.idea/artifacts/openrocket_jar.xml @@ -9,7 +9,6 @@ - @@ -20,7 +19,6 @@ - @@ -39,6 +37,15 @@ + + + + + + + + + - \ No newline at end of file + diff --git a/.idea/misc.xml b/.idea/misc.xml index 0df800997..da6b56af7 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -46,7 +46,7 @@ - + \ No newline at end of file diff --git a/.idea/runConfigurations/Openrocket_UI_Jar.xml b/.idea/runConfigurations/Openrocket_UI_Jar.xml index a701b0db8..da1cbc055 100644 --- a/.idea/runConfigurations/Openrocket_UI_Jar.xml +++ b/.idea/runConfigurations/Openrocket_UI_Jar.xml @@ -4,9 +4,7 @@ \ No newline at end of file diff --git a/core/OpenRocket Core.iml b/core/OpenRocket Core.iml index 8afb18531..b09b9bb82 100644 --- a/core/OpenRocket Core.iml +++ b/core/OpenRocket Core.iml @@ -25,6 +25,7 @@ + @@ -34,7 +35,60 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -71,21 +125,10 @@ - - - - - - - - - - - - + @@ -100,6 +143,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -118,6 +233,15 @@ + + + + + + + + + @@ -127,5 +251,14 @@ + + + + + + + + + \ No newline at end of file diff --git a/core/test/net/sf/openrocket/communication/UpdateInfoTest.java b/core/test/net/sf/openrocket/communication/UpdateInfoTest.java index 680604f53..7fe177d22 100644 --- a/core/test/net/sf/openrocket/communication/UpdateInfoTest.java +++ b/core/test/net/sf/openrocket/communication/UpdateInfoTest.java @@ -196,7 +196,7 @@ public class UpdateInfoTest extends BaseTestCase { Random rnd = new Random(); for (int i = 0; i < 10; i++) { - int size = (int) ((1 + 0.3 * rnd.nextGaussian()) * Math.pow(i, 6)); + int size = Math.abs((int) ((1 + 0.3 * rnd.nextGaussian()) * Math.pow(i, 6))); byte[] buf = new byte[size]; rnd.nextBytes(buf); diff --git a/lib-test/OpenRocket Test Libraries.iml b/lib-test/OpenRocket Test Libraries.iml index 7202ad899..59af4bbc8 100644 --- a/lib-test/OpenRocket Test Libraries.iml +++ b/lib-test/OpenRocket Test Libraries.iml @@ -16,7 +16,7 @@ - + @@ -25,7 +25,7 @@ - + @@ -34,7 +34,7 @@ - + @@ -43,7 +43,7 @@ - + @@ -52,7 +52,7 @@ - + @@ -61,7 +61,7 @@ - + @@ -70,14 +70,5 @@ - - - - - - - - - \ No newline at end of file diff --git a/swing/OpenRocket Swing.iml b/swing/OpenRocket Swing.iml index 7ac4a7284..18aa7a5ea 100644 --- a/swing/OpenRocket Swing.iml +++ b/swing/OpenRocket Swing.iml @@ -35,6 +35,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -62,15 +116,6 @@ - - - - - - - - - @@ -127,8 +172,6 @@ - - @@ -174,5 +217,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file