Skip to content
Snippets Groups Projects
Commit f61b83b1 authored by aTrueYety's avatar aTrueYety
Browse files

Release 1.0.0

parent 8c1bac48
No related branches found
No related tags found
No related merge requests found
<mxfile host="65bd71144e"> <mxfile host="65bd71144e">
<diagram id="4-dTPngTZetFabdM5VLu" name="Page-1"> <diagram id="4-dTPngTZetFabdM5VLu" name="Page-1">
<mxGraphModel dx="911" dy="512" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" background="none" math="0" shadow="0"> <mxGraphModel dx="662" dy="259" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" background="none" math="0" shadow="0">
<root> <root>
<mxCell id="0"/> <mxCell id="0"/>
<mxCell id="1" parent="0"/> <mxCell id="1" parent="0"/>
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
</Array> </Array>
</mxGeometry> </mxGeometry>
</mxCell> </mxCell>
<mxCell id="99" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.549;exitY=0.999;exitDx=0;exitDy=0;exitPerimeter=0;dashed=1;endArrow=open;endFill=0;" edge="1" parent="1" source="58" target="66"> <mxCell id="99" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.549;exitY=0.999;exitDx=0;exitDy=0;exitPerimeter=0;dashed=1;endArrow=open;endFill=0;" parent="1" source="58" target="66" edge="1">
<mxGeometry relative="1" as="geometry"> <mxGeometry relative="1" as="geometry">
<Array as="points"> <Array as="points">
<mxPoint x="348" y="390"/> <mxPoint x="348" y="390"/>
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
</Array> </Array>
</mxGeometry> </mxGeometry>
</mxCell> </mxCell>
<mxCell id="103" style="edgeStyle=orthogonalEdgeStyle;html=1;dashed=1;startArrow=none;startFill=0;endArrow=open;endFill=0;exitX=0.546;exitY=1.002;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1" source="58" target="30"> <mxCell id="103" style="edgeStyle=orthogonalEdgeStyle;html=1;dashed=1;startArrow=none;startFill=0;endArrow=open;endFill=0;exitX=0.546;exitY=1.002;exitDx=0;exitDy=0;exitPerimeter=0;" parent="1" source="58" target="30" edge="1">
<mxGeometry relative="1" as="geometry"> <mxGeometry relative="1" as="geometry">
<Array as="points"> <Array as="points">
<mxPoint x="347" y="390"/> <mxPoint x="347" y="390"/>
......
Diagrams/png/classDiagram.png

80.8 KiB | W: | H:

Diagrams/png/classDiagram.png

80.9 KiB | W: | H:

Diagrams/png/classDiagram.png
Diagrams/png/classDiagram.png
Diagrams/png/classDiagram.png
Diagrams/png/classDiagram.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed.
...@@ -240,7 +240,6 @@ public class InOut { ...@@ -240,7 +240,6 @@ public class InOut {
if (readingPrefix) { if (readingPrefix) {
if (findString(prefixes, c)) { // a later prefix overrides an earlier prefix in conflicts if (findString(prefixes, c)) { // a later prefix overrides an earlier prefix in conflicts
// !
if (c.equals("t")) { // title case if (c.equals("t")) { // title case
arg = arg.substring(0, 1).toUpperCase() + arg.substring(1).toLowerCase(); arg = arg.substring(0, 1).toUpperCase() + arg.substring(1).toLowerCase();
} }
...@@ -265,8 +264,6 @@ public class InOut { ...@@ -265,8 +264,6 @@ public class InOut {
if (c.equals("l")) { // lower case if (c.equals("l")) { // lower case
arg = arg.toLowerCase(); arg = arg.toLowerCase();
} }
// !
} else { } else {
readingPrefix = false; readingPrefix = false;
} }
...@@ -281,7 +278,6 @@ public class InOut { ...@@ -281,7 +278,6 @@ public class InOut {
throw new IllegalArgumentException("Too few arguments"); throw new IllegalArgumentException("Too few arguments");
} }
// !
if (c.equals("l")) { // string with left padding and fixed length if (c.equals("l")) { // string with left padding and fixed length
if (arg.length() > length) { if (arg.length() > length) {
if (length <= 3) { // A string of length 3 or less should not be truncated if (length <= 3) { // A string of length 3 or less should not be truncated
...@@ -345,7 +341,6 @@ public class InOut { ...@@ -345,7 +341,6 @@ public class InOut {
} }
result += arg; // add argument result += arg; // add argument
} }
// !
argIndex += 1; argIndex += 1;
readNummber = ""; readNummber = "";
......
...@@ -13,7 +13,7 @@ import org.junit.Test; ...@@ -13,7 +13,7 @@ import org.junit.Test;
public class TestTrainDispatchApp { public class TestTrainDispatchApp {
// test constructors // test constructors
@Test @Test
public void testConstructor() { // ! not the best test. public void testConstructor() {
TrainDispatchApp app = new TrainDispatchApp(); TrainDispatchApp app = new TrainDispatchApp();
assertEquals(false, app.getAutoSeed()); assertEquals(false, app.getAutoSeed());
app.setAutoSeed(true); app.setAutoSeed(true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment