Daniel Horowitz 6 anni fa
parent
commit
c0b09f846f

+ 0
- 16
.idea/compiler.xml Vedi File

@@ -1,16 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project version="4">
3
-  <component name="CompilerConfiguration">
4
-    <annotationProcessing>
5
-      <profile name="Maven default annotation processors profile" enabled="true">
6
-        <sourceOutputDir name="target/generated-sources/annotations" />
7
-        <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
8
-        <outputRelativeToContentRoot value="true" />
9
-        <module name="FundamentalDrills-Part1" />
10
-      </profile>
11
-    </annotationProcessing>
12
-    <bytecodeTargetLevel>
13
-      <module name="FundamentalDrills-Part1" target="1.5" />
14
-    </bytecodeTargetLevel>
15
-  </component>
16
-</project>

+ 5
- 0
.idea/inspectionProfiles/profiles_settings.xml Vedi File

@@ -0,0 +1,5 @@
1
+<component name="InspectionProjectProfileManager">
2
+  <settings>
3
+    <option name="PROJECT_PROFILE" />
4
+  </settings>
5
+</component>

+ 0
- 13
.idea/misc.xml Vedi File

@@ -1,13 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project version="4">
3
-  <component name="MavenProjectsManager">
4
-    <option name="originalFiles">
5
-      <list>
6
-        <option value="$PROJECT_DIR$/pom.xml" />
7
-      </list>
8
-    </option>
9
-  </component>
10
-  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
11
-    <output url="file://$PROJECT_DIR$/classes" />
12
-  </component>
13
-</project>

+ 0
- 8
.idea/modules.xml Vedi File

@@ -1,8 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project version="4">
3
-  <component name="ProjectModuleManager">
4
-    <modules>
5
-      <module fileurl="file://$PROJECT_DIR$/FundamentalDrills-Part1.iml" filepath="$PROJECT_DIR$/FundamentalDrills-Part1.iml" />
6
-    </modules>
7
-  </component>
8
-</project>

+ 0
- 6
.idea/vcs.xml Vedi File

@@ -1,6 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<project version="4">
3
-  <component name="VcsDirectoryMappings">
4
-    <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
-  </component>
6
-</project>

+ 0
- 16
FundamentalDrills-Part1.iml Vedi File

@@ -1,16 +0,0 @@
1
-<?xml version="1.0" encoding="UTF-8"?>
2
-<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3
-  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5">
4
-    <output url="file://$MODULE_DIR$/target/classes" />
5
-    <output-test url="file://$MODULE_DIR$/target/test-classes" />
6
-    <content url="file://$MODULE_DIR$">
7
-      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
8
-      <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
9
-      <excludeFolder url="file://$MODULE_DIR$/target" />
10
-    </content>
11
-    <orderEntry type="inheritedJdk" />
12
-    <orderEntry type="sourceFolder" forTests="false" />
13
-    <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.12" level="project" />
14
-    <orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
15
-  </component>
16
-</module>

+ 2
- 0
src/main/java/io/zipcoder/ArrayDrills.java Vedi File

@@ -91,6 +91,8 @@ public class ArrayDrills {
91 91
             } else {
92 92
             answer[0] = (input1[(input1.length/2)] + input1[((input1.length/2) - 1)]);
93 93
             }
94
+
95
+
94 96
         Integer second = input2.length % 2;
95 97
         if (second != 0) {
96 98
             answer[1] = input2[(input2.length/2)];

BIN
target/classes/io/zipcoder/ArrayDrills.class Vedi File