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
Show file tree
Hide file tree
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
Resolved errors and warnings in the Javadoc (#529)
* Update Config.java

* Update GameBoardFacade.java

* Update ICommand.java

* Update ICommand.java

* Update ICommand.java

* Update Puzzle.java

* Update GameBoardFacade.java

* Update Config.java

* Update GameBoardFacade.java

* Update Puzzle.java

* Update Puzzle.java

* Update Puzzle.java

* Update SkyscrapersBoard.java

* Update SkyscrapersBoard.java

* Update SkyscrapersBoard.java

* Update SkyscrapersBoard.java

* Update SkyscrapersBoard.java

* Update SkyscrapersBoard.java

* Update SkyscrapersBoard.java

* Update SkyscrapersCellFactory.java

* Update PuzzleExporter.java

* Update BattleshipCellFactory.java

* Update PuzzleExporter.java

* Update PuzzleImporter.java

* Update PuzzleImporter.java

* Update PuzzleImporter.java

* Update PuzzleImporter.java

* Update PuzzleImporter.java

* Update PuzzleImporter.java

* Update PuzzleImporter.java

* Update PuzzleImporter.java

* Update PuzzleImporter.java

* Update BattleshipImporter.java

* Created descriptions for param node and exception InvalidFileException

* Update BattleshipType.java

* Update BattleshipType.java

* Update BoardView.java

* Update GridBoardView.java

* Update FillapixCellFactory.java

* Update FillapixImporter.java

* Update FillapixImporter.java

* Update HeyawakeFactory.java

* Update HeyawakeImporter.java

* Update BattleshipImporter.java

* Update HeyawakeImporter.java

* Update AutoCaseRuleCommand.java

* Update AutoCaseRuleCommand.java

* Update ValidateCaseRuleCommand.java

* Update LightUpCellFactory.java

* Update LightUpImporter.java

* Update MasyuCellFactory.java

* Update MasyuImporter.java

* Update NurikabeCellFactory.java

* Update NurikabeImporter.java

* Update RulePanel.java

* Update RulePanel.java

* Update RulePanel.java

* Update RulePanel.java

* Update RulePanel.java

* Update ShortTruthTableCellFactory.java

* Update ShortTruthTableCellType.java

* Update ShortTruthTableCellType.java

* Update ShortTruthTableCellType.java

* Update SkyscrapersBoard.java

* Update SkyscrapersImporter.java

* Update SkyscrapersImporter.java

* Update SudokuCell.java

* Update SudokuCellFactory.java

* Update SudokuImporter.java

* Update SudokuImporter.java

* Update Tree.java

* Update TreeTentCellFactory.java

* Update TreeTentImporter.java

* Update TreeToolbarPanel.java

* Update LegupUI.java

* Update WrapLayout.java

* Update LegupUtils.java

* Update ValidateContradictionRuleCommand.java

---------

Co-authored-by: Ivan Ho <41582274 [email protected]>
Co-authored-by: Charles Tian <46334090 [email protected]>
  • Loading branch information
3 people authored Apr 21, 2023
commit 212b73f0a034d11aaac5c70b0d145509f7dbcc48
2 changes: 1 addition & 1 deletion src/main/java/edu/rpi/legup/app/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 25,7 @@ public class Config {
/**
* Config Constructor for logic puzzles
*
* @throws InvalidConfigException
* @throws InvalidConfigException if configuration is invalid
*/
public Config() throws InvalidConfigException {
this.puzzles = new Hashtable<>();
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/edu/rpi/legup/app/GameBoardFacade.java
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 187,7 @@ public void loadPuzzle(String game, int rows, int columns) throws RuntimeExcepti
* Loads a puzzle file
*
* @param fileName file name of the board file
* @throws InvalidFileFormatException if input is invalid
*/
public void loadPuzzle(String fileName) throws InvalidFileFormatException {
try {
Expand Down Expand Up @@ -276,7 277,7 @@ public void loadPuzzleEditor(InputStream inputStream) throws InvalidFileFormatEx

/**
* Loads a puzzle file from the input stream
*
* @throws InvalidFileFormatException if input is invalid
* @param inputStream input stream for the puzzle file
*/
public void loadPuzzle(InputStream inputStream) throws InvalidFileFormatException {
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/edu/rpi/legup/history/AutoCaseRuleCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 29,9 @@ public class AutoCaseRuleCommand extends PuzzleCommand {
*
* @param elementView currently selected puzzle puzzleElement view that is being edited
* @param selection currently selected tree puzzleElement views that is being edited
* @param caseRule currently selected caseRule puzzleElement view that is being edited
* @param caseBoard currently selected caseBoard puzzleElement view that is being edited
* @param mouseEvent currently selected mouseEvent puzzleElement view that is being edited
*/
public AutoCaseRuleCommand(ElementView elementView, TreeViewSelection selection, CaseRule caseRule, CaseBoard caseBoard, MouseEvent mouseEvent) {
this.elementView = elementView;
Expand Down
7 changes: 4 additions & 3 deletions src/main/java/edu/rpi/legup/history/ICommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 2,13 @@

public interface ICommand {
/**
* Executes an command
* Executes a command
*/
void execute();

/**
* Determines whether this command can be executed
* @return true if can execute, false otherwise
*/
boolean canExecute();

Expand All @@ -20,12 21,12 @@ public interface ICommand {
String getError();

/**
* Undoes an command
* Undoes a command
*/
void undo();

/**
* Redoes an command
* Redoes a command
*/
void redo();
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 25,7 @@ public class ValidateCaseRuleCommand extends PuzzleCommand {
* AutoCaseRuleCommand Constructor creates a command for verifying a case rule
*
* @param selection currently selected tree puzzleElement views that is being edited
* @param caseRule currently selected caseRule puzzleElement view that is being edited
*/
public ValidateCaseRuleCommand(TreeViewSelection selection, CaseRule caseRule) {
this.selection = selection.copy();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 22,7 @@ public class ValidateContradictionRuleCommand extends PuzzleCommand {
* ValidateContradictionRuleCommand Constructor creates a puzzle command for verifying a contradiction rule
*
* @param selection currently selected tree puzzleElement views
* @param rule contradiction rule to set to all of the tree elements
* @param rule contradiction rule to be set to all the tree elements
*/
public ValidateContradictionRuleCommand(TreeViewSelection selection, ContradictionRule rule) {
this.selection = selection.copy();
Expand All @@ -32,7 32,7 @@ public ValidateContradictionRuleCommand(TreeViewSelection selection, Contradicti
}

/**
* Executes an command
* Executes a command
*/
@Override
public void executeCommand() {
Expand Down Expand Up @@ -117,7 117,7 @@ public String getErrorString() {
}

/**
* Undoes an command
* Undoes a command
*/
@Override
public void undoCommand() {
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/edu/rpi/legup/model/Puzzle.java
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 248,8 @@ public boolean isPuzzleComplete() {
/**
* Imports the board using the file stream
*
* @param fileName
* @throws InvalidFileFormatException
* @param fileName the file that is imported
* @throws InvalidFileFormatException if file is invalid
*/
public void importPuzzle(String fileName) throws InvalidFileFormatException {
try {
Expand All @@ -264,8 264,8 @@ public void importPuzzle(String fileName) throws InvalidFileFormatException {
/**
* Imports the board using the file stream
*
* @param inputStream
* @throws InvalidFileFormatException
* @param inputStream the file stream that is imported
* @throws InvalidFileFormatException if file stream is invalid
*/
public void importPuzzle(InputStream inputStream) throws InvalidFileFormatException {
Document document;
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/edu/rpi/legup/model/PuzzleExporter.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 26,7 @@ public abstract class PuzzleExporter {

/**
* PuzzleExporter Constructor exports the puzzle object to a file
* @param puzzle puzzle that is to be exported
*/
public PuzzleExporter(Puzzle puzzle) {
this.puzzle = puzzle;
Expand All @@ -35,7 36,7 @@ public PuzzleExporter(Puzzle puzzle) {
* Exports the puzzle to an xml formatted file
*
* @param fileName name of file to be exported
* @throws ExportFileException
* @throws ExportFileException if puzzle can not be exported
*/
public void exportPuzzle(String fileName) throws ExportFileException {
try {
Expand Down
16 changes: 9 additions & 7 deletions src/main/java/edu/rpi/legup/model/PuzzleImporter.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 24,7 @@ public abstract class PuzzleImporter {

/**
* PuzzleImporter Constructor creates the puzzle object
* @param puzzle puzzle that is imported
*/
public PuzzleImporter(Puzzle puzzle) {
this.puzzle = puzzle;
Expand All @@ -34,7 35,7 @@ public PuzzleImporter(Puzzle puzzle) {
*
* @param rows number of rows on the puzzle
* @param columns number of columns on the puzzle
* @throws RuntimeException
* @throws RuntimeException if puzzle can not be made
*/
public void initializePuzzle(int rows, int columns) throws RuntimeException {
if (this.puzzle.isValidDimensions(rows, columns)) {
Expand All @@ -49,7 50,7 @@ public void initializePuzzle(int rows, int columns) throws RuntimeException {
* Initializes the puzzle attributes
*
* @param node xml document node
* @throws InvalidFileFormatException
* @throws InvalidFileFormatException if file is invalid
*/
public void initializePuzzle(Node node) throws InvalidFileFormatException {
if (node.getNodeName().equalsIgnoreCase("puzzle")) {
Expand Down Expand Up @@ -103,23 104,23 @@ public void initializePuzzle(Node node) throws InvalidFileFormatException {
*
* @param rows number of rows on the puzzle
* @param columns number of columns on the puzzle
* @throws RuntimeException
* @throws RuntimeException if board can not be created
*/
public abstract void initializeBoard(int rows, int columns);

/**
* Creates an empty board for building
*
* @param node xml document node
* @throws InvalidFileFormatException
* @throws InvalidFileFormatException if file is invalid
*/
public abstract void initializeBoard(Node node) throws InvalidFileFormatException;

/**
* Creates the proof for building
*
* @param node xml document node
* @throws InvalidFileFormatException
* @throws InvalidFileFormatException if file is invalid
*/
public void initializeProof(Node node) throws InvalidFileFormatException {
if (node.getNodeName().equalsIgnoreCase("proof")) {
Expand Down Expand Up @@ -153,6 154,7 @@ public void initializeProof(Node node) throws InvalidFileFormatException {
* Sets the puzzleElement from the xml document node
*
* @param node xml document node
* @throws InvalidFileFormatException if file is invalid
*/
protected void setCells(Node node) throws InvalidFileFormatException {
NodeList dataList = ((org.w3c.dom.Element) node).getElementsByTagName("cell");
Expand All @@ -166,8 168,8 @@ protected void setCells(Node node) throws InvalidFileFormatException {
/**
* Creates the tree for the edu.rpi.legup.puzzle
*
* @param node
* @throws InvalidFileFormatException
* @param node xml document node
* @throws InvalidFileFormatException if file is invalid
*/
protected void createTree(Node node) throws InvalidFileFormatException {
Element treeElement = (org.w3c.dom.Element) node;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/edu/rpi/legup/model/tree/Tree.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 101,7 @@ public Set<TreeElement> getLeafTreeElements() {

/**
* Gets a Set of TreeNodes that are leaf nodes from the sub tree rooted at the specified node
*
* @param node node that is input
* @return Set of TreeNodes that are leaf nodes from the sub tree
*/
public Set<TreeElement> getLeafTreeElements(TreeNode node) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 17,7 @@ public class BattleshipCellFactory extends ElementFactory {
* @param node node that represents the puzzleElement
* @param board board to add the newly created cell
* @return newly created cell from the xml document Node
* @throws InvalidFileFormatException
* @throws InvalidFileFormatException if file is invalid
*/
@Override
public PuzzleElement<BattleshipType> importCell(Node node, Board board) throws InvalidFileFormatException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 18,7 @@ public BattleshipImporter(Battleship battleShip) {
*
* @param rows the number of rows on the board
* @param columns the number of columns on the board
* @throws RuntimeException
* @throws RuntimeException if board can not be created
*/
@Override
public void initializeBoard(int rows, int columns) {
Expand All @@ -29,7 29,7 @@ public void initializeBoard(int rows, int columns) {
* Creates the board for building
*
* @param node xml document node
* @throws InvalidFileFormatException
* @throws InvalidFileFormatException if file is invalid
*/
@Override
public void initializeBoard(Node node) throws InvalidFileFormatException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 13,7 @@ public enum BattleshipType {

/**
* Gets the enum of this BattleShipType
*
* @param value the integer value input
* @return enum equivalent BattleShipType of integer value
*/
public static BattleshipType getType(int value) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 17,7 @@ public class FillapixCellFactory extends ElementFactory {
* @param node node that represents the puzzleElement
* @param board board to add the newly created cell
* @return newly created cell from the xml document Node
* @throws InvalidFileFormatException
* @throws InvalidFileFormatException if file is invalid
*/
@Override
public FillapixCell importCell(Node node, Board board) throws InvalidFileFormatException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 18,7 @@ public FillapixImporter(Fillapix fillapix) {
*
* @param rows the number of rows on the board
* @param columns the number of columns on the board
* @throws RuntimeException
* @throws RuntimeException if board can not be made
*/
@Override
public void initializeBoard(int rows, int columns) {
Expand All @@ -29,7 29,7 @@ public void initializeBoard(int rows, int columns) {
* Creates the board for building
*
* @param node xml document node
* @throws InvalidFileFormatException
* @throws InvalidFileFormatException if file is invalid
*/
@Override
public void initializeBoard(Node node) throws InvalidFileFormatException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 17,7 @@ public class HeyawakeFactory extends ElementFactory {
* @param node node that represents the puzzleElement
* @param board board to add the newly created cell
* @return newly created cell from the xml document Node
* @throws InvalidFileFormatException
* @throws InvalidFileFormatException if file is invalid
*/
@Override
public HeyawakeCell importCell(Node node, Board board) throws InvalidFileFormatException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 19,7 @@ public HeyawakeImporter(Heyawake heyawake) {
*
* @param rows the number of rows on the board
* @param columns the number of columns on the board
* @throws RuntimeException
* @throws RuntimeException if board can not be created
*/
@Override
public void initializeBoard(int rows, int columns) {
Expand All @@ -30,7 30,7 @@ public void initializeBoard(int rows, int columns) {
* Creates the board for building
*
* @param node xml document node
* @throws InvalidFileFormatException
* @throws InvalidFileFormatException if file is invalid
*/
@Override
public void initializeBoard(Node node) throws InvalidFileFormatException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 17,7 @@ public class LightUpCellFactory extends ElementFactory {
* @param node node that represents the puzzleElement
* @param board board to add the newly created cell
* @return newly created cell from the xml document Node
* @throws InvalidFileFormatException
* @throws InvalidFileFormatException if file is invalid
*/
@Override
public LightUpCell importCell(Node node, Board board) throws InvalidFileFormatException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 18,7 @@ public LightUpImporter(LightUp lightUp) {
*
* @param rows the number of rows on the board
* @param columns the number of columns on the board
* @throws RuntimeException
* @throws RuntimeException if board can not be created
*/
@Override
public void initializeBoard(int rows, int columns) {
Expand All @@ -41,7 41,7 @@ public void initializeBoard(int rows, int columns) {
* Creates the board for building
*
* @param node xml document node
* @throws InvalidFileFormatException
* @throws InvalidFileFormatException if file is invalid
*/
@Override
public void initializeBoard(Node node) throws InvalidFileFormatException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 17,7 @@ public class MasyuCellFactory extends ElementFactory {
* @param node node that represents the puzzleElement
* @param board board to add the newly created cell
* @return newly created cell from the xml document Node
* @throws InvalidFileFormatException
* @throws InvalidFileFormatException if file is invalid
*/
@Override
public MasyuCell importCell(Node node, Board board) throws InvalidFileFormatException {
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/edu/rpi/legup/puzzle/masyu/MasyuImporter.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 18,7 @@ public MasyuImporter(Masyu masyu) {
*
* @param rows the number of rows on the board
* @param columns the number of columns on the board
* @throws RuntimeException
* @throws RuntimeException if board can not be created
*/
@Override
public void initializeBoard(int rows, int columns) {
Expand All @@ -29,7 29,7 @@ public void initializeBoard(int rows, int columns) {
* Creates the board for building
*
* @param node xml document node
* @throws InvalidFileFormatException
* @throws InvalidFileFormatException if file is invalid
*/
@Override
public void initializeBoard(Node node) throws InvalidFileFormatException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 17,7 @@ public class NurikabeCellFactory extends ElementFactory {
* @param node node that represents the puzzleElement
* @param board board to add the newly created cell
* @return newly created cell from the xml document Node
* @throws InvalidFileFormatException
* @throws InvalidFileFormatException if file is invalid
*/
@Override
public NurikabeCell importCell(Node node, Board board) throws InvalidFileFormatException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 18,7 @@ public NurikabeImporter(Nurikabe nurikabe) {
*
* @param rows the number of rows on the board
* @param columns the number of columns on the board
* @throws RuntimeException
* @throws RuntimeException if board can not be created
*/
@Override
public void initializeBoard(int rows, int columns) {
Expand All @@ -39,7 39,7 @@ public void initializeBoard(int rows, int columns) {
* Creates the board for building
*
* @param node xml document node
* @throws InvalidFileFormatException
* @throws InvalidFileFormatException if file is invalid
*/
@Override
public void initializeBoard(Node node) throws InvalidFileFormatException {
Expand Down
Loading