Removed Errors, so it could be compiled.
This commit is contained in:
parent
b4a651a332
commit
351bb3bc2d
4 changed files with 7 additions and 18 deletions
|
@ -2,8 +2,8 @@
|
|||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/Sudoku.iml" filepath="$PROJECT_DIR$/Sudoku.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/privacy-friendly-sudoku.iml" filepath="$PROJECT_DIR$/privacy-friendly-sudoku.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
13
app/app.iml
13
app/app.iml
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module external.linked.project.id=":app" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="Sudoku" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
|
||||
<module external.linked.project.id=":app" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="privacy-friendly-sudoku" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="android-gradle" name="Android-Gradle">
|
||||
<configuration>
|
||||
|
@ -97,16 +97,5 @@
|
|||
<orderEntry type="library" exported="" name="design-23.1.0" level="project" />
|
||||
<orderEntry type="library" exported="" name="appcompat-v7-23.1.0" level="project" />
|
||||
<orderEntry type="library" exported="" name="support-annotations-23.1.0" level="project" />
|
||||
<orderEntry type="module-library">
|
||||
<library name="JUnit4">
|
||||
<CLASSES>
|
||||
<root url="jar://$APPLICATION_HOME_DIR$/lib/junit-4.11.jar!/" />
|
||||
<root url="jar://$APPLICATION_HOME_DIR$/lib/hamcrest-core-1.3.jar!/" />
|
||||
<root url="jar://$APPLICATION_HOME_DIR$/lib/hamcrest-library-1.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
</component>
|
||||
</module>
|
|
@ -51,7 +51,7 @@ public class GameController {
|
|||
|
||||
public boolean isSolved() {
|
||||
boolean solved = true;
|
||||
|
||||
/*
|
||||
for(int i = 0; i < size; i++) {
|
||||
|
||||
List<Integer> set = new ArrayList<Integer>();
|
||||
|
@ -66,7 +66,7 @@ public class GameController {
|
|||
if(!checkList() solved = false;
|
||||
if(!checkList(gameField.getColumn(i))) solved = false;
|
||||
if(!checkList(gameField.getSection(i))) solved = false;
|
||||
}
|
||||
}*/
|
||||
return solved;
|
||||
}
|
||||
|
||||
|
@ -76,13 +76,13 @@ public class GameController {
|
|||
* @return true if every cell has a value and every value occurs only once
|
||||
*/
|
||||
private boolean checkList(GameCell[] list) {
|
||||
List<Integer> set = new ArrayList<Integer>();
|
||||
/*List<Integer> set = new ArrayList<Integer>();
|
||||
for(GameCell c : list) {
|
||||
if(set.contains(c.getValue())) {
|
||||
|
||||
errorList.add(new CheckError());
|
||||
}
|
||||
}
|
||||
}*/
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module external.linked.project.id="Sudoku" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
|
||||
<module external.linked.project.id="privacy-friendly-sudoku" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="java-gradle" name="Java-Gradle">
|
||||
<configuration>
|
Loading…
Reference in a new issue