Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring 2023 Semester Pull Request #523

Merged
merged 250 commits into from
May 5, 2023
Merged
Changes from 1 commit
Commits
Show all changes
250 commits
Select commit Hold shift click to select a range
723bb3a
Cancel Open Proof == Null
19690ao Jan 27, 2023
101fa85
Comments
19690ao Jan 27, 2023
50404a1
Checkstyle 1
19690ao Jan 27, 2023
8ade19a
changed all file names that have "Basic Rules" to "Direct Rules"
Acewvrs Jan 28, 2023
c673d4b
changed all file names that have "Basic Rules" to "Direct Rules"
Acewvrs Jan 28, 2023
9c02fc0
changed the UI texts where rules are labeled "Basic Rules" to "Direct…
Acewvrs Jan 28, 2023
cf3d3a0
Renaming "Basic Rules" to "Direct Rules"
Acewvrs Jan 28, 2023
dbc78e6
Seemingly Fixed (BasicRule_Generic)
19690ao Jan 28, 2023
d19f400
changed the names of folders under 'test' directory, so they use the …
Acewvrs Jan 31, 2023
099bb43
Testing Flatlaf On Dev
N-Desmarais Jan 31, 2023
b3f0ca1
Renamed icon file
charlestian23 Feb 2, 2023
af9cea5
Merge pull request #422 from Acewvrs/master
charlestian23 Feb 2, 2023
aa449fb
Merge branch 'dev' into flatlaf-testing-dev
N-Desmarais Feb 3, 2023
14a9381
changed 'Atomic Rule' to 'True or False' and changed case/Atomic.png …
sparakala21 Feb 3, 2023
02f9713
Merge pull request #418 from 19690ao/CancelOpenProof
charlestian23 Feb 3, 2023
4c8c720
Merge 1
19690ao Feb 3, 2023
9a5be23
Merge 2
19690ao Feb 3, 2023
7176b72
Merge branch 'dev' into AtomicRuleCircularReasoning
19690ao Feb 3, 2023
3b6da75
[FIXED BUG] <Editing a Puzzle's that don't have an edit funciton>
DavidColetta Feb 3, 2023
139d32f
Fixed bug that lets you edit editable puzzle
DavidColetta Feb 4, 2023
424a38c
Fix bug #331 cleanup and comments
DavidColetta Feb 4, 2023
fde31c0
Update Atomic.png
sparakala21 Feb 4, 2023
211b3fa
Merge branch 'dev' into master
charlestian23 Feb 5, 2023
30523ec
Merge pull request #423 from N-Desmarais/flatlaf-testing-dev
charlestian23 Feb 5, 2023
a8f2762
Add FlatLaf license reference
charlestian23 Feb 5, 2023
cae9b18
Merge branch 'dev' into master
charlestian23 Feb 5, 2023
bfdfde4
Merge branch 'dev' into AtomicRuleCircularReasoning
charlestian23 Feb 5, 2023
0005666
Merge pull request #428 from ChickoonLord/master
Corppet Feb 7, 2023
708419e
Merge branch 'Bram-Hub:master' into True_or_False
sparakala21 Feb 7, 2023
ac22629
Merge branch 'dev' into AtomicRuleCircularReasoning
charlestian23 Feb 7, 2023
d43b712
Merge branch 'True_or_False' of https://github.com/sparakala21/Legup …
charlestian23 Feb 7, 2023
1780243
Merge branch 'sparakala21-True_or_False' into dev
charlestian23 Feb 7, 2023
cb44ea7
Merge branch 'dev' of https://github.com/Bram-Hub/Legup into dev
charlestian23 Feb 7, 2023
75e42ec
Merge branch 'dev' into AtomicRuleCircularReasoning
charlestian23 Feb 7, 2023
b32a355
Merge pull request #421 from 19690ao/AtomicRuleCircularReasoning
charlestian23 Feb 7, 2023
782d09b
Failing to open file sends you back to home screen
DavidColetta Feb 7, 2023
dd33db6
Failing to open puzzle proof file sends you back to home
DavidColetta Feb 7, 2023
1e0e713
Merge branch 'dev' into master
DavidColetta Feb 7, 2023
f96486d
changed SkyscrapersCell class to use its own respective class type, S…
Acewvrs Feb 7, 2023
9256722
removed an import line in SudokuCell that was unnecessarily added
Acewvrs Feb 7, 2023
b18b66a
changed SkyscrapersCell class to use its own respective class type, S…
Acewvrs Feb 7, 2023
caf0428
removed an import line in SudokuCell that was unnecessarily added
Acewvrs Feb 7, 2023
bc49d60
Merge pull request #436 from ChickoonLord/master
Corppet Feb 7, 2023
525f3f8
Merge branch 'master' of https://github.com/Acewvrs/Legup
Acewvrs Feb 7, 2023
95128ca
Changed "Legup" to "LEGUP"
charlestian23 Feb 10, 2023
b96599a
Merge branch 'dev' into dev
charlestian23 Feb 10, 2023
9e50d81
Merge pull request #441 from charlestian23/dev
charlestian23 Feb 10, 2023
b78f8eb
Update README.md
charlestian23 Feb 10, 2023
66983d9
Merge branch 'dev' of https://github.com/charlestian23/LEGUP into dev
charlestian23 Feb 10, 2023
0bfe523
Merge branch 'dev' into dev
charlestian23 Feb 10, 2023
818300c
Merge pull request #442 from charlestian23/dev
charlestian23 Feb 10, 2023
99ba825
removed unnecessary comments in convertToSkyType
Acewvrs Feb 10, 2023
c43c87d
Merge branch 'dev' into master
Acewvrs Feb 10, 2023
69d6ddf
added brackets after if statements to match checkstyle
Acewvrs Feb 10, 2023
c4c26ff
Merge remote-tracking branch 'origin/master'
Acewvrs Feb 10, 2023
7b48556
Made MasyuCell use its own custom type, MasyuType.
Acewvrs Feb 10, 2023
66fd2fa
Fixed spacing to match checkStyle
Acewvrs Feb 10, 2023
3283ee9
Fixed typos in comments for short truth tables
Acewvrs Feb 10, 2023
c0db239
Pressing ENTER is the same as pressing Go putton in rule search
DavidColetta Feb 10, 2023
3eb76e7
Merge pull request #449 from DavidColetta/dev
charlestian23 Feb 13, 2023
0700445
Merge branch 'dev' into master
charlestian23 Feb 14, 2023
b39e4d9
refactored getType() function in MasyuCell class to make it more stra…
Acewvrs Feb 14, 2023
b6979ab
Update src/main/java/edu/rpi/legup/puzzle/masyu/MasyuType.java
Acewvrs Feb 14, 2023
6271c07
refactored convertToSkyType() function make it use switch statement i…
Acewvrs Feb 14, 2023
78b5f32
Merge remote-tracking branch 'origin/master'
Acewvrs Feb 14, 2023
3130dc6
refactored convertToMasyuType() function make it use switch statement…
Acewvrs Feb 14, 2023
6b3bca6
changed the position of the left curly bracket in convertToMasyuType(…
Acewvrs Feb 14, 2023
493ae98
Merge pull request #443 from Acewvrs/master
Corppet Feb 14, 2023
2117964
Delete result.csv
charlestian23 Feb 17, 2023
c17bacc
Merge branch 'dev' into dev
charlestian23 Feb 17, 2023
730f1e3
Update README.md
charlestian23 Feb 17, 2023
8a9c15e
Update README.md
charlestian23 Feb 17, 2023
a187a75
Merge pull request #457 from charlestian23/dev
Corppet Feb 17, 2023
c4d222a
added ctrl-y keybind for redo (#455)
rspacerr Feb 17, 2023
7f28566
Upgrade Gradle to Version 7.5.1 (#456)
charlestian23 Feb 17, 2023
2aac5b6
fixed bug that's causing some buttons to remain highlighted after bei…
Acewvrs Feb 17, 2023
c5faae1
Merge remote-tracking branch 'origin/dev' into dev
Acewvrs Feb 17, 2023
3c58c60
Fixed Biconditional Contradiction (#459)
N-Desmarais Feb 17, 2023
47db9d6
fixed bug that's causing some buttons to remain highlighted after bei…
Acewvrs Feb 17, 2023
005a166
Changes to `TreeTent`.
pitbull51067 Feb 17, 2023
82a0df0
Merge branch 'Bram-Hub:dev' into dev
pitbull51067 Feb 17, 2023
ef612a2
Changes to `TreeTent`.
pitbull51067 Feb 17, 2023
895c255
Merge remote-tracking branch 'origin/dev' into dev
pitbull51067 Feb 17, 2023
7e98aad
Moved text below icon for search panel (#463)
RyancRiv Feb 17, 2023
9491891
Cleaned up code. removed unused functions and needless code fragments…
Acewvrs Feb 17, 2023
1d0eb94
[ENHANCEMENT] Add dark mode #404 (#466)
kevinkxu Feb 24, 2023
e066d10
95 white bottle beck (#469)
walkingjason Feb 24, 2023
41376de
Merge branch 'Bram-Hub:dev' into dev
Acewvrs Feb 24, 2023
76fb8f9
Changedd the yes/no/cancel options to just yes/no (#453)
VortiganOfficial Feb 24, 2023
624d96d
Merge branch 'dev' of https://github.com/Acewvrs/Legup into dev
Acewvrs Feb 24, 2023
eb1030c
Merge branch 'Bram-Hub:dev' into dev
Acewvrs Feb 24, 2023
2e1eda9
Merge branch 'dev' into dev
Corppet Feb 24, 2023
9d9e3ac
Issue #139: Made Tree Tent use TreeTentType (#464)
pitbull51067 Feb 24, 2023
5a6827f
Merge branch 'dev' into dev
Corppet Feb 24, 2023
95c3045
Changed LEGUP and centered batch grader (#474)
VortiganOfficial Feb 24, 2023
6de0bf5
Merge branch 'dev' into dev
charlestian23 Feb 24, 2023
2784e01
moved TODO comments inside the showStatus() method to match the style.
Acewvrs Feb 24, 2023
34be8dc
Merge remote-tracking branch 'origin/dev' into dev
Acewvrs Feb 24, 2023
fe5385c
changed the spacing between texts in preferences to be more consistent
Acewvrs Feb 24, 2023
298eaac
Cancel Load Null Pointer (#480)
19690ao Feb 28, 2023
8f24a88
Merge branch 'dev' into dev
Corppet Feb 28, 2023
2becd8a
`keyPressed()` `TODO` simplification
Corppet Feb 28, 2023
ffe8393
Code Clean up (#472)
Acewvrs Feb 28, 2023
acedfd9
fixed corner bug
rspacerr Feb 28, 2023
ce422bb
Revert "fixed corner bug"
rspacerr Feb 28, 2023
9213b68
Merge branch 'dev' of https://github.com/rspacerr/LEGUP into dev
rspacerr Feb 28, 2023
257c612
fixed corner bug
rspacerr Feb 28, 2023
fa19ab8
Merge branch 'Bram-Hub:dev' into dev
Acewvrs Feb 28, 2023
bbcdfe0
Merge remote-tracking branch 'origin/dev' into dev
Acewvrs Feb 28, 2023
b348538
Fixed the nullpointer exception when cancelling batch grader (#481)
VortiganOfficial Mar 3, 2023
4b08cc9
Update LightUp.java (#488)
charlestian23 Mar 3, 2023
58c172c
These 2 lines fix at least 2 issues. This was much more annoying to f…
19690ao Mar 3, 2023
1bd19ab
Too Few Bulbs Changes
Jimmers2001 Mar 6, 2023
669262f
Created two example files
Jimmers2001 Mar 7, 2023
00d6cc7
Finished too few bulbs
Jimmers2001 Mar 8, 2023
e362936
Cannot Light a Cell Contradiction
Jimmers2001 Mar 9, 2023
aa03bce
Merge branch 'dev' into OpenNewPuzzle
19690ao Mar 13, 2023
99703cd
Merge branch 'dev' into dev
charlestian23 Mar 14, 2023
44e28b0
Merge pull request #485 from rspacerr/dev
charlestian23 Mar 14, 2023
30d26b4
Merge branch 'dev' into dev
charlestian23 Mar 14, 2023
a96f549
Merge pull request #487 from Acewvrs/dev
charlestian23 Mar 14, 2023
3bc112a
Merge branch 'dev' into OpenNewPuzzle
charlestian23 Mar 14, 2023
830d843
Merge pull request #493 from 19690ao/OpenNewPuzzle
charlestian23 Mar 14, 2023
e427f21
set test points to make sure the STT files are loaded in correctly
Acewvrs Mar 17, 2023
847af1b
Merge pull request #497 from walkingjason/479-clear-history
charlestian23 Mar 17, 2023
3067af6
testing transitions
Acewvrs Mar 17, 2023
187096b
Logo (#498)
25tallurich Mar 17, 2023
104c3ca
Merge branch 'dev' of https://github.com/Bram-Hub/Legup into dev
pitbull51067 Mar 17, 2023
79c223d
Added simple tests instead of all complex
Jimmers2001 Mar 18, 2023
fef0f81
Working Basic EmptyCellsinLight Test
Jimmers2001 Mar 18, 2023
9e7a15a
Revert Commit 847af1b129d0c244148315beca7427e8f432a35c
19690ao Mar 18, 2023
7dbe457
Merge pull request #500 from 19690ao/NothingWorks
charlestian23 Mar 18, 2023
712af0a
added a test case, BlockInVerticalPath for LightUp that tests there i…
Acewvrs Mar 19, 2023
183041c
Merge remote-tracking branch 'origin/dev' into dev
Acewvrs Mar 19, 2023
576f1f2
added a test case, CannontFillMiddle for LightUp that tests CannotLig…
Acewvrs Mar 19, 2023
dc2289b
removed unnecessary indent
Acewvrs Mar 19, 2023
38ee499
Finish Empty Corners but it throws an error
Jimmers2001 Mar 20, 2023
8d77a04
Update README.md
charlestian23 Mar 21, 2023
42be8fd
Color blind support (#470) (#471)
sparakala21 Mar 24, 2023
1c22997
Merge branch 'Bram-Hub:dev' into dev
Acewvrs Mar 24, 2023
fc3abc9
Help button (#504)
25tallurich Mar 24, 2023
40438ce
Added unit tests tor CannotLightACellContradictionRuleTest and TooFew…
Acewvrs Mar 24, 2023
b09d153
Added test LightUp files for testing
Acewvrs Mar 24, 2023
cce1c86
Merge remote-tracking branch 'origin/dev' into dev
Acewvrs Mar 24, 2023
9463167
Merge branch 'Bram-Hub:dev' into dev
Acewvrs Mar 24, 2023
08c59d1
removed an unnecessary comment and spacing
Acewvrs Mar 24, 2023
12c7c6f
Merge remote-tracking branch 'origin/dev' into dev
Acewvrs Mar 24, 2023
4824b6f
jfilechooser for opening puzzles
kevinkxu Mar 26, 2023
50fd125
Merge branch 'issue475'
kevinkxu Mar 28, 2023
c7f4da3
Added another set of tests for TooManyBulbsContradictionRule
Acewvrs Mar 28, 2023
2343583
FinishWithBulbs complete
Jimmers2001 Mar 30, 2023
3495ac6
Reformatted code
charlestian23 Mar 31, 2023
8169ea7
Update compatibility to Java 11 (#511)
charlestian23 Mar 31, 2023
cb1d0ce
Complete FinishWithEmpty tests
Jimmers2001 Mar 31, 2023
8257860
Added Randomly Generated 7x7 lightup puzzles
Acewvrs Mar 31, 2023
a6f4bd0
MustLightRule complete
Jimmers2001 Mar 31, 2023
011a0c3
prevented the same error message from being created numerous times wh…
Acewvrs Mar 31, 2023
48ec55f
Removed unnecessary variables and function calls
Jimmers2001 Mar 31, 2023
6614eae
GameBoardFacade Clear Attempt
19690ao Apr 1, 2023
20447e9
Failing test cases
walkingjason Apr 3, 2023
823a668
Fixes BlackBottleNeckRule test
walkingjason Apr 3, 2023
5cfd31e
set test points to make sure the STT files are loaded in correctly
Acewvrs Mar 17, 2023
5fbbb9b
testing transitions
Acewvrs Mar 17, 2023
29d07e0
added a test case, BlockInVerticalPath for LightUp that tests there i…
Acewvrs Mar 19, 2023
e44d79b
added a test case, CannontFillMiddle for LightUp that tests CannotLig…
Acewvrs Mar 19, 2023
8c22d2e
removed unnecessary indent
Acewvrs Mar 19, 2023
16e64dd
Added unit tests tor CannotLightACellContradictionRuleTest and TooFew…
Acewvrs Mar 24, 2023
aed3c7a
Added test LightUp files for testing
Acewvrs Mar 24, 2023
15dbee6
removed an unnecessary comment and spacing
Acewvrs Mar 24, 2023
3ec5ea8
Added another set of tests for TooManyBulbsContradictionRule
Acewvrs Mar 28, 2023
675088f
Added Randomly Generated 7x7 lightup puzzles
Acewvrs Mar 31, 2023
02d4f1a
Updated NurikabeCell.java if/else statements to switch case
ErinCohenGH Apr 4, 2023
ff9333b
Remove extra spaces in JavaDocs
Corppet Apr 4, 2023
d79ce0a
Removed extra spaces from JavaDocs
Corppet Apr 4, 2023
88b197d
Update FinishWithEmptyDirectRule.java
Corppet Apr 4, 2023
b6046c8
revert
Corppet Apr 4, 2023
12e3bcd
Reverted JavaDocs
Corppet Apr 4, 2023
8812087
Revert JavaDocs
Corppet Apr 4, 2023
aca1ea0
Update TreeTentController.java (#518)
walkingjason Apr 4, 2023
a735dc1
Issue 513 (#517)
Mbijur Apr 4, 2023
a322c3c
Merge branch 'dev' into dev
Acewvrs Apr 4, 2023
271b0c6
Fixes 502 (#519)
N-Desmarais Apr 4, 2023
995d4fa
Done
pitbull51067 Apr 4, 2023
0777f72
Merge branch 'dev' of https://github.com/pitbull51067/Legup into dev
pitbull51067 Apr 4, 2023
3bf57f8
Merge branch 'dev' into dev
Acewvrs Apr 4, 2023
a73b387
Fixes TooManySpacesContradictionRuleTest bug
walkingjason Apr 5, 2023
e299038
Failing test so far. Must go through and check why boards arent equal
Jimmers2001 Apr 5, 2023
fb215b0
Merge remote-tracking branch 'origin/dev' into dev
Acewvrs Apr 7, 2023
e10b42b
Merge remote-tracking branch 'origin/dev' into dev
Acewvrs Apr 7, 2023
34b0935
reimplmented clear history so that it doesn't break Proof Editor
Acewvrs Apr 7, 2023
2d649b0
Merge branch 'master' into dev
charlestian23 Apr 7, 2023
d5d8ee5
Merge branch 'dev' into dev
charlestian23 Apr 7, 2023
1397a7c
Update build.gradle
charlestian23 Apr 7, 2023
d568fa6
Update build.gradle
charlestian23 Apr 7, 2023
4c2ff78
Changed Java version in Publish Javadoc to 11
charlestian23 Apr 7, 2023
5415968
Merge branch 'dev' into dev
charlestian23 Apr 7, 2023
67a68d2
Merge branch 'dev' into dev
charlestian23 Apr 7, 2023
3da673a
Removed TODO comment
charlestian23 Apr 7, 2023
0b96ed2
Merge pull request #521 from pitbull51067/dev
charlestian23 Apr 7, 2023
43573d0
Merge branch 'dev' into dev
charlestian23 Apr 7, 2023
c79372c
Merge pull request #506 from Acewvrs/dev
charlestian23 Apr 7, 2023
ecff196
232 treetent unit test (#509)
walkingjason Apr 7, 2023
83b8c14
Removed more HTML tags (#524)
charlestian23 Apr 7, 2023
72390f9
Fixes FillinWhiteDirectRuleTest
walkingjason Apr 7, 2023
d17fea7
Config Reset
19690ao Apr 9, 2023
f28ca48
Keep config and editors
19690ao Apr 9, 2023
6cac55b
Merge
19690ao Apr 9, 2023
53cc811
Puzzle Editor Equivalent
19690ao Apr 9, 2023
97d22a4
Undo/Redo Still Breaks Everything
19690ao Apr 9, 2023
c304412
treePanel and boardView = null
19690ao Apr 9, 2023
cb6e57b
Comments 1
19690ao Apr 9, 2023
51ae9a1
Merge branch 'dev' into master
charlestian23 Apr 11, 2023
32c0608
Completed Case Rules
Jimmers2001 Apr 12, 2023
21e6b17
removed unnecessary modified data calls
Jimmers2001 Apr 12, 2023
bed593a
Fixed Nurikabe Rules Printing Duplicate Error Messages (#526)
Acewvrs Apr 14, 2023
0039649
Merge branch 'project' of https://github.com/Jimmers2001/LEGUP into J…
charlestian23 Apr 14, 2023
8aac014
Merge branch 'Jimmers2001-project' into dev
charlestian23 Apr 14, 2023
c7eecea
Merge branch 'dev' of https://github.com/Bram-Hub/Legup into dev
charlestian23 Apr 14, 2023
fa5e119
Merge branch 'dev' into master
charlestian23 Apr 14, 2023
afa7b6b
Merge pull request #536 from kevinkxu/master
charlestian23 Apr 14, 2023
7824b5d
Merge branch 'dev' into CreatePuzzleClearData
charlestian23 Apr 14, 2023
dc66807
Merge pull request #531 from 19690ao/CreatePuzzleClearData
charlestian23 Apr 14, 2023
b375009
Merge branch 'dev' into dev
Corppet Apr 14, 2023
aafb37e
Update README.md
charlestian23 Apr 14, 2023
cd38d49
Merge branch 'Bram-Hub:dev' into dev
Acewvrs Apr 18, 2023
24ee15d
allowed case rules to have only one option
Acewvrs Apr 18, 2023
7e7810a
undo changes
Acewvrs Apr 18, 2023
50ae268
Merge remote-tracking branch 'origin/dev' into dev
Acewvrs Apr 18, 2023
46b639b
Merge branch 'dev' into 510-Nurikabe-Tests
charlestian23 Apr 21, 2023
7745d7e
Merge branch 'dev' into dev
charlestian23 Apr 21, 2023
a1df58c
Nurikabe, Light Up, and Tree Tent Bug Fixes (#542)
charlestian23 Apr 21, 2023
3599af1
Merge branch 'dev' into dev
charlestian23 Apr 21, 2023
03dd3de
Merge branch 'dev' into 510-Nurikabe-Tests
charlestian23 Apr 21, 2023
212b73f
Resolved errors and warnings in the Javadoc (#529)
Mbijur Apr 21, 2023
f305ca3
Merge branch 'dev' into dev
Acewvrs Apr 21, 2023
0d4f5bb
Reset puzzle (#527)
25tallurich Apr 21, 2023
8a2b5be
Merge branch 'dev' into dev
ErinCohenGH Apr 21, 2023
ee7b4f3
Update NurikabeCell.java to use .getElementID instead of .getElementName
ErinCohenGH Apr 21, 2023
c3856e6
Merge branch 'dev' of https://github.com/ErinCohenGH/LEGUP into dev
ErinCohenGH Apr 21, 2023
d913702
Merge branch 'Bram-Hub:dev' into dev
Acewvrs Apr 21, 2023
e5cf50a
Merge branch 'dev' into 510-Nurikabe-Tests
charlestian23 Apr 25, 2023
8466d6a
Merge pull request #544 from ErinCohenGH/dev
charlestian23 Apr 25, 2023
43fe04d
Merge branch 'dev' into 510-Nurikabe-Tests
charlestian23 Apr 25, 2023
b1214c7
Merge pull request #539 from walkingjason/510-Nurikabe-Tests
charlestian23 Apr 25, 2023
8f58cae
Added break statements to switch statements
charlestian23 Apr 25, 2023
9c874d0
Attempting to fix Javadocs issue
charlestian23 Apr 25, 2023
6d8dfca
Merge branch 'dev' into dev
charlestian23 Apr 25, 2023
1834daa
Retrying Javadocs changes
charlestian23 Apr 25, 2023
7ca15b2
Merge branch 'dev' into dev
charlestian23 Apr 26, 2023
e8704f9
Merge pull request #541 from Acewvrs/dev
charlestian23 Apr 26, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix bug #331 cleanup and comments
  • Loading branch information
DavidColetta committed Feb 4, 2023
commit 424a38cfa904c5642209109e6877903198eaf5b1
4 changes: 3 additions & 1 deletion src/main/java/edu/rpi/legup/app/GameBoardFacade.java
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 227,8 @@ public void loadPuzzleEditor(InputStream inputStream) throws InvalidFileFormatEx
if (qualifiedClassName == null) {
throw new InvalidFileFormatException("Puzzle creation error: cannot find puzzle with that name");
}
String[] editablePuzzles = GameBoardFacade.getInstance().getConfig().getFileCreationEnabledPuzzles().toArray(new String[0]);
//Check if puzzle is a "FileCreationEnabled" puzzle (meaning it is editable).
String[] editablePuzzles = config.getFileCreationEnabledPuzzles().toArray(new String[0]);
boolean isEditablePuzzle = false;
for (int i = 0; i < editablePuzzles.length; i ) {
if (qualifiedClassName.contains(editablePuzzles[i])) {
Expand All @@ -239,6 240,7 @@ public void loadPuzzleEditor(InputStream inputStream) throws InvalidFileFormatEx
LOGGER.error("Puzzle is not editable");
throw new InvalidFileFormatException("Puzzle is not editable");
}
//If it is editable, start loading it
LOGGER.debug("Loading " qualifiedClassName);

Class<?> c = Class.forName(qualifiedClassName);
Expand Down