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

[AY1920S1-CS2113-T13-3] Chronologer #34

Open
wants to merge 534 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 156 commits
Commits
Show all changes
534 commits
Select commit Hold shift + click to select a range
2db8377
Added user guide pdf to doc
TanYiXiang Nov 1, 2019
d34e7b0
Rename UserGuide.adoc to README.MD
TanYiXiang Nov 1, 2019
7a51a07
Update README.adoc
fauzt Nov 1, 2019
bdc47bf
Updated the build.gradle to work on other Operating Systems.
Nov 1, 2019
153e867
Fixed bye command, now it terminates.
TanYiXiang Nov 1, 2019
d9e4e3d
Fix export command to not include dateless todo tasks as it will caus…
TanYiXiang Nov 1, 2019
e52107e
Fix Checkstyle
TanYiXiang Nov 1, 2019
27030ef
Modify export command to allow users to define their own file to expo…
TanYiXiang Nov 2, 2019
bf7f7b6
Modify deadline formatting in export command to better interpret star…
TanYiXiang Nov 2, 2019
3d4adeb
Added history tracking for current session for text field to make it …
Nov 2, 2019
dc42ef9
extended TaskScheduleCommand to accomodate no deadline inputs
fauzt Nov 2, 2019
566f0e4
extended ScheduleParser to accomodate no deadline inputs
fauzt Nov 2, 2019
3482cb8
Merge pull request #143 from TanYiXiang/B-RefactorPostpone
fauzt Nov 2, 2019
e4efa55
Schedule command bugfix
fauzt Nov 2, 2019
4efecb8
javadoc
fauzt Nov 2, 2019
b1fc032
Implemented basic Storage Junit test. Will add more later.
TanYiXiang Nov 2, 2019
f6c3678
Refactor postpone command and add test for clash.
TanYiXiang Nov 2, 2019
57d5866
First version of history for input text.
Nov 2, 2019
aa2c643
Completed Command line functionality - up to see prev dwn to see next!
Nov 2, 2019
38860a7
Merge https://github.com/AY1920S1-CS2113-T13-3/main
Nov 2, 2019
5014208
Merge pull request #155 from E0310898/master
TanYiXiang Nov 3, 2019
1cb8647
Merge branch 'master' into B-ModifyIcs
TanYiXiang Nov 3, 2019
7e1e3c8
Modified export command to include flags to extract certain type of t…
TanYiXiang Nov 3, 2019
dbea873
Remove println code.
TanYiXiang Nov 3, 2019
e08be12
made module code extracted as upper case
hanskw4267 Nov 3, 2019
77ca66c
lecture and tutorial tasks implemented
hanskw4267 Nov 3, 2019
935927b
Merge pull request #156 from TanYiXiang/B-ModifyIcs
hanskw4267 Nov 3, 2019
88d160e
fixed checkstyle
hanskw4267 Nov 3, 2019
5584632
added junit to test for recurring parsing
hanskw4267 Nov 3, 2019
90e3e22
Merge pull request #157 from hanskw4267/AddRecurring
saiganeshsuresh Nov 3, 2019
9cb115f
Fixed postpone bug in which user can postpone to later dates.
TanYiXiang Nov 3, 2019
9c53441
Merge pull request #158 from TanYiXiang/B-PostponeBugFix
saiganeshsuresh Nov 3, 2019
9158095
Added theme feature and history feature to allow the user to store mu…
Nov 3, 2019
c3366ed
Merge https://github.com/AY1920S1-CS2113-T13-3/main
Nov 3, 2019
048bb9e
Cleaned up some warning messages.
Nov 3, 2019
7f57501
fixed checkstyle
Nov 3, 2019
5425230
Merge pull request #159 from E0310898/master
TanYiXiang Nov 4, 2019
f0240e9
Fix bug where json can't load exams,lectures and tutorials due to mis…
TanYiXiang Nov 4, 2019
fd4b2f9
Merge pull request #161 from TanYiXiang/B-BugFix
saiganeshsuresh Nov 4, 2019
ca64802
Enhance ics file to include module code for better reference if any.
TanYiXiang Nov 4, 2019
91ce7c1
Added load test to Junit storage test.
TanYiXiang Nov 4, 2019
994e32c
Merge pull request #164 from TanYiXiang/B-MinorStuff
fauzt Nov 4, 2019
ea34f31
Merge branch 'master' into scheduler
fauzt Nov 4, 2019
fd9b8e6
minor exception fix
fauzt Nov 4, 2019
19ab93f
added string constants to TaskScheduler
fauzt Nov 4, 2019
9ff01f2
updated TaskScheduleTest
fauzt Nov 4, 2019
b82682f
Merge pull request #165 from fauzt/scheduler
saiganeshsuresh Nov 4, 2019
779a949
completed timeline feature!!!!
Nov 4, 2019
c4552d4
Completed checkstyle fixes.
Nov 4, 2019
b9de549
Merge https://github.com/AY1920S1-CS2113-T13-3/main
Nov 4, 2019
99391e8
created junit test for TaskScheduler logic
fauzt Nov 4, 2019
d7c3c2d
Merge pull request #166 from E0310898/master
fauzt Nov 4, 2019
1db8392
added multiline printing support for UI
fauzt Nov 4, 2019
ac13724
configured checkstyle xml for junit tests
fauzt Nov 4, 2019
f8762e6
updated junit test
fauzt Nov 4, 2019
6817728
minor checkstyle fix
fauzt Nov 4, 2019
f488e3a
added a help and manual command to user! test it out pretty cool.
Nov 4, 2019
d84eb6c
Added the help and manual commands to aid users!
Nov 4, 2019
97194e0
Merge https://github.com/AY1920S1-CS2113-T13-3/main
Nov 4, 2019
88a6103
Merge pull request #167 from E0310898/master
TanYiXiang Nov 4, 2019
20acd91
added more test
fauzt Nov 5, 2019
f970ee4
Merge branch 'master' into scheduler
fauzt Nov 5, 2019
447bd94
travis fix
fauzt Nov 5, 2019
8b85a3e
Update README.MD
TanYiXiang Nov 5, 2019
2c56127
tweaked the comment command confirmation message
hanskw4267 Nov 6, 2019
34fd61e
added location to the Tostring methods to show the location during li…
hanskw4267 Nov 6, 2019
498bcad
fixed checkstyle and test
hanskw4267 Nov 6, 2019
27ad7cb
added commands to printManual
hanskw4267 Nov 6, 2019
b091f5f
Merge pull request #169 from hanskw4267/master
TanYiXiang Nov 6, 2019
98528ae
fixed checkstyle
hanskw4267 Nov 6, 2019
91ba56c
Update ReadMe.MD with export section
TanYiXiang Nov 6, 2019
4f40183
refactor & bugfix
fauzt Nov 6, 2019
8911fca
minor fix
fauzt Nov 6, 2019
8008624
Merge pull request #170 from hanskw4267/master
TanYiXiang Nov 6, 2019
caa913d
Merge pull request #168 from fauzt/scheduler
saiganeshsuresh Nov 6, 2019
3c18e6a
Updated for bot check!
Nov 6, 2019
b633750
Merge pull request #171 from E0310898/master
TanYiXiang Nov 6, 2019
259d44a
Update README.adoc
saiganeshsuresh Nov 6, 2019
97d9014
refactor schedule method
fauzt Nov 7, 2019
fcc6e60
Added Junit test for export.
TanYiXiang Nov 7, 2019
ee08986
Added priority component in ics file during export and fix filename trim
TanYiXiang Nov 7, 2019
46a3fea
Checkstyle Fix
TanYiXiang Nov 7, 2019
62fbb76
schedule method bugfix
fauzt Nov 7, 2019
54c42af
Merge pull request #174 from TanYiXiang/B-ExportJunit
fauzt Nov 7, 2019
b5a685a
remove gui tweaks, changes moved to different branch
fauzt Nov 7, 2019
6bd5ea4
Merge branch 'master' into refactor
fauzt Nov 7, 2019
2936e7b
Merge pull request #175 from fauzt/refactor
saiganeshsuresh Nov 8, 2019
93a421b
temporary deletion
hanskw4267 Nov 8, 2019
c6c0b0f
added back image files with new name
hanskw4267 Nov 8, 2019
c040726
Merge branch 'master' of https://github.com/AY1920S1-CS2113-T13-3/main
hanskw4267 Nov 8, 2019
7c8dd0f
Merge pull request #177 from hanskw4267/master
hanskw4267 Nov 8, 2019
70a90f9
refactor TaskScheduler feature
fauzt Nov 8, 2019
3cc4572
refactor TaskScheduler feature
fauzt Nov 8, 2019
2952765
fixed bug where search coomand message shows wrong duration
hanskw4267 Nov 8, 2019
01bcb76
fix bug of no confirmation message for view command
hanskw4267 Nov 8, 2019
400bf7e
fixed bug for lastday
hanskw4267 Nov 8, 2019
8e0306c
refactor TaskScheduler feature
fauzt Nov 8, 2019
0754ada
fixed bug for recurring
hanskw4267 Nov 8, 2019
d04a17c
Implement logging for storage and fix empty calendar bug.
TanYiXiang Nov 8, 2019
aa6904a
added nonnull assertions in TaskScheduler
fauzt Nov 8, 2019
ec394e1
Merge pull request #179 from hanskw4267/master
TanYiXiang Nov 8, 2019
f4fd281
Merge branch 'master' into B-StorageLogger+BugFix
TanYiXiang Nov 8, 2019
4b15762
Merge pull request #182 from fauzt/refactor
TanYiXiang Nov 8, 2019
be64b96
implemented logging for command classes
hanskw4267 Nov 8, 2019
b82e288
Merge pull request #183 from TanYiXiang/B-StorageLogger+BugFix
hanskw4267 Nov 8, 2019
c15d23d
Merge branch 'master' of https://github.com/AY1920S1-CS2113-T13-3/main
hanskw4267 Nov 8, 2019
2a61483
renamed log file to follow convention
hanskw4267 Nov 8, 2019
86f1b84
added reposense tags
hanskw4267 Nov 8, 2019
58cd89f
Checkstyle fix
hanskw4267 Nov 8, 2019
4c8cb72
changed method extractModCode to use regex matcher instead on iteration
hanskw4267 Nov 8, 2019
544936d
Added comments to methods and applied some SLAP.
TanYiXiang Nov 9, 2019
a7bb014
Merge pull request #185 from hanskw4267/master
TanYiXiang Nov 9, 2019
76b00f8
updated manual for schedule command, refactor manual constants to inn…
fauzt Nov 9, 2019
81da91b
Merge branch 'master' into refactor
fauzt Nov 9, 2019
364adcc
minor fix
fauzt Nov 9, 2019
fe02a8c
Merge pull request #186 from TanYiXiang/B-Refactor
hanskw4267 Nov 9, 2019
6d9fee9
Merge pull request #187 from fauzt/refactor
hanskw4267 Nov 9, 2019
5b012e5
Minor comments and code refactoring.
Nov 9, 2019
771e1fd
Merge https://github.com/AY1920S1-CS2113-T13-3/main
Nov 9, 2019
54f3095
bugfix for corner cases for TaskScheduler
fauzt Nov 9, 2019
085b9fd
Refactored Ui to UiMessageHandler
Nov 9, 2019
7116670
fixed error due to returning a null when no valid modcode can be found
hanskw4267 Nov 10, 2019
776f86f
checkstyle fix
hanskw4267 Nov 10, 2019
8292de7
Merge pull request #189 from hanskw4267/master
saiganeshsuresh Nov 10, 2019
488c608
fixed checkstyle.
Nov 10, 2019
9debb9a
Merge https://github.com/AY1920S1-CS2113-T13-3/main
Nov 10, 2019
3f7e676
Updated everything to UiMessageHandler, added GUI enhancement as reco…
Nov 10, 2019
b550114
fixed alignment
Nov 10, 2019
b52f7c0
Removed redundant checks in datetimeextractor.
Nov 10, 2019
cc01c81
Merge pull request #191 from E0310898/master
fauzt Nov 10, 2019
c712179
Merge branch 'master' into refactor
fauzt Nov 10, 2019
d63b828
moved classes to appropriate packages
fauzt Nov 10, 2019
23c6c86
Removed the remaining redundant message writes.
Nov 10, 2019
8ba5ba6
fixed alignment.
Nov 10, 2019
af98101
updated gitignore.
Nov 10, 2019
0c27c5a
Fixed dialogbox bug.
Nov 10, 2019
ac69293
Merge pull request #192 from E0310898/master
fauzt Nov 10, 2019
883af7f
allow TaskScheduler to accept raw duration input
fauzt Nov 10, 2019
4a6f331
Merge branch 'master' into refactor
fauzt Nov 10, 2019
b5fb231
modified recurring parser to add based on a /till date flag
hanskw4267 Nov 10, 2019
d35b8c1
added the check for start/end date order
hanskw4267 Nov 10, 2019
ae9f9f4
Update AboutUs.adoc
TanYiXiang Nov 10, 2019
5091ec1
added validation for search command duration
hanskw4267 Nov 10, 2019
c54ce96
removed a magic string
hanskw4267 Nov 10, 2019
a58d8aa
add exception catch at datetime extractor
hanskw4267 Nov 10, 2019
0b2674f
Update README.adoc
saiganeshsuresh Nov 10, 2019
e5377fa
Update README.adoc
hanskw4267 Nov 10, 2019
73f41d5
Update README.adoc
hanskw4267 Nov 10, 2019
07d437a
Update README.adoc
hanskw4267 Nov 10, 2019
658e979
Update README.adoc
hanskw4267 Nov 10, 2019
09370a6
Update README.adoc
saiganeshsuresh Nov 10, 2019
124f3dc
Removed unneccessary Tutorial folder.
Nov 10, 2019
dd8c124
Merge pull request #194 from E0310898/master
hanskw4267 Nov 10, 2019
34d1277
Merge branch 'master' of https://github.com/AY1920S1-CS2113-T13-3/main
hanskw4267 Nov 10, 2019
00f601f
changed private levels
hanskw4267 Nov 10, 2019
75cb2bb
covered TaskScheduler test coverage
fauzt Nov 10, 2019
cea790d
Update README.adoc
saiganeshsuresh Nov 10, 2019
f6a030f
Update README.adoc
saiganeshsuresh Nov 10, 2019
22b56de
Merge pull request #193 from hanskw4267/master
saiganeshsuresh Nov 10, 2019
d0daf7c
Update README.adoc
saiganeshsuresh Nov 10, 2019
e35d051
Update appveyor.yml
saiganeshsuresh Nov 10, 2019
af1dc9a
Merge branch 'master' into refactor
fauzt Nov 10, 2019
fdb298f
CI based on AppVeyor is up.
Nov 10, 2019
b7400ab
Merge https://github.com/AY1920S1-CS2113-T13-3/main
Nov 10, 2019
e7ffcf6
Rename README.MD to UserGuide.adoc
saiganeshsuresh Nov 10, 2019
2673add
Create DeveloperGuide.adoc
saiganeshsuresh Nov 10, 2019
2293c09
Update README.adoc
saiganeshsuresh Nov 10, 2019
e3c10be
Update DeveloperGuide.adoc
saiganeshsuresh Nov 10, 2019
b6bb98f
Create ContactUs.adoc
saiganeshsuresh Nov 10, 2019
ffed5de
Update README.adoc
saiganeshsuresh Nov 10, 2019
aa37d9a
checkstyle fix
fauzt Nov 10, 2019
0eaf00d
Update UserGuide.adoc
fauzt Nov 10, 2019
4c970cc
Merge pull request #195 from fauzt/refactor
TanYiXiang Nov 10, 2019
348948e
Update UserGuide.adoc
fauzt Nov 10, 2019
20ef07f
Update UserGuide.adoc
TanYiXiang Nov 10, 2019
d96dc3a
Update UserGuide.adoc
hanskw4267 Nov 10, 2019
87841ad
Update UserGuide.adoc
saiganeshsuresh Nov 10, 2019
eb603ac
Update UserGuide.adoc
saiganeshsuresh Nov 10, 2019
2f4661e
Update UserGuide.adoc
hanskw4267 Nov 10, 2019
909668d
Update UserGuide.adoc
hanskw4267 Nov 10, 2019
72dc114
change command to lowercase
hanskw4267 Nov 10, 2019
b1100e5
Merge pull request #196 from hanskw4267/master
fauzt Nov 10, 2019
0c9723d
changed magic strings to constants
hanskw4267 Nov 10, 2019
c5fde73
Merge pull request #197 from hanskw4267/master
fauzt Nov 10, 2019
73d8189
Delete Version1
saiganeshsuresh Nov 10, 2019
be069d4
Delete Version2
saiganeshsuresh Nov 10, 2019
4825aed
Delete Version3
saiganeshsuresh Nov 10, 2019
0e0b49f
Implemented final version of history feature, added test cases.
Nov 10, 2019
72f6f51
Merge https://github.com/AY1920S1-CS2113-T13-3/main
Nov 10, 2019
8df0832
Updated test file.
Nov 10, 2019
4044d9e
Test file change.
Nov 10, 2019
6dea64b
reverted to a full history implementation to test issue.
Nov 10, 2019
6728c0c
again
Nov 10, 2019
44cabb6
again.
Nov 10, 2019
720ea80
Unknown issue with Export test.
Nov 10, 2019
5eaf55a
Merge pull request #199 from E0310898/master
TanYiXiang Nov 11, 2019
bf72c79
Fixed export test issue.
TanYiXiang Nov 11, 2019
d4717e3
test
Nov 11, 2019
4ab3e42
shift creation of file to beforeall
Nov 11, 2019
815c659
Confirm location of exception
Nov 11, 2019
4da80f8
again
Nov 11, 2019
1f8ad0e
test
Nov 11, 2019
1996ba3
updated checkstyle
Nov 11, 2019
9380782
Export test rewrite
TanYiXiang Nov 11, 2019
b3fbd21
test
Nov 11, 2019
0cb27c5
CheckstyleFix
TanYiXiang Nov 11, 2019
5081b63
test
Nov 11, 2019
b0932a5
Overhaul export test
TanYiXiang Nov 11, 2019
37d7d9c
Test
TanYiXiang Nov 11, 2019
02bd30d
Undo deleted code
TanYiXiang Nov 11, 2019
a7e6edf
Again
TanYiXiang Nov 11, 2019
7342f97
Again
TanYiXiang Nov 11, 2019
17da220
Merge pull request #206 from TanYiXiang/B-FixExport
saiganeshsuresh Nov 11, 2019
ccca7c4
create schedule test.
Nov 11, 2019
4af9b65
Merge https://github.com/AY1920S1-CS2113-T13-3/main
Nov 11, 2019
fe3729d
Solve merge conflicts
TanYiXiang Nov 11, 2019
0a893be
more tests, doc update, TaskScheduler update
fauzt Nov 11, 2019
895c4d8
Merge branch 'master' into refactor
fauzt Nov 11, 2019
c63c314
fixed test, default reminder set to 1 day
fauzt Nov 11, 2019
79c997e
Merge pull request #207 from fauzt/refactor
TanYiXiang Nov 11, 2019
7eb4f7b
Merge branch 'master' of https://github.com/TanYiXiang/main
TanYiXiang Nov 11, 2019
c5e37fb
Add Junit test for edit parser
TanYiXiang Nov 11, 2019
4f722b3
Added priority parser
TanYiXiang Nov 11, 2019
5e79820
Minor checkstyle fix
TanYiXiang Nov 11, 2019
656be30
Added and updated test cases, fixed a bug with week command.
Nov 11, 2019
4d030fc
Merge https://github.com/AY1920S1-CS2113-T13-3/main
Nov 11, 2019
0d04aa4
Merge pull request #208 from TanYiXiang/B-ParserTest
fauzt Nov 11, 2019
abdcea4
Updated theme tes, corrected reminder test and reminder
Nov 11, 2019
2fc30e1
Merge https://github.com/AY1920S1-CS2113-T13-3/main
Nov 11, 2019
d3562e6
Cleaned up, hopefully last PR!
Nov 11, 2019
97f6ace
Cleared checkstyle.
Nov 11, 2019
076b169
Changed to test based on duration issue. reverted Reminder to origina…
Nov 11, 2019
6aa1e28
Merge pull request #209 from E0310898/master
fauzt Nov 11, 2019
8c4b3bc
minor quality edit
fauzt Nov 11, 2019
5a2807a
Merge pull request #211 from fauzt/master
saiganeshsuresh Nov 11, 2019
e0e5280
updated ui.png
hanskw4267 Nov 11, 2019
ec80428
adding commands for testing purpose
fauzt Nov 11, 2019
2bffad5
Merge pull request #212 from hanskw4267/master
fauzt Nov 11, 2019
f0a7bec
Merge pull request #213 from fauzt/master
hanskw4267 Nov 11, 2019
570e3ab
Update AboutUs.adoc
hanskw4267 Nov 11, 2019
8c4c44e
Update AboutUs.adoc
hanskw4267 Nov 11, 2019
4e591b7
Update AboutUs.adoc
hanskw4267 Nov 11, 2019
7b70cd8
Update UserGuide.adoc
fauzt Nov 11, 2019
ce04338
Update AboutUs.adoc
saiganeshsuresh Nov 11, 2019
3d7789e
Update AboutUs.adoc
saiganeshsuresh Nov 11, 2019
eca91d9
Update AboutUs.adoc
saiganeshsuresh Nov 11, 2019
4c2b58b
Update AboutUs.adoc
fauzt Nov 11, 2019
b0b323b
docs update, as suggested by module lead
fauzt Nov 12, 2019
c2f670e
cleanup to eliminate confusion
fauzt Nov 12, 2019
5e94373
Merge pull request #215 from fauzt/master
saiganeshsuresh Nov 12, 2019
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
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,13 @@ src/main/resources/docs/
.DS_Store
*.iml
bin/
*.class
*.txt
*.file
ArrayList

#Vscode specific
.project
.settings/
.classpath
launch.json
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: java
jdk:
- oraclejdk11
before_install:
- chmod +x gradlew
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
18 changes: 18 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
image::docs/images/organization logo.png[width="600", align="center"]
image::docs/images/Ui.png[width="600", align="center"]

* This is a desktop activities manager application called chronologer. It has a GUI but most of the user interactions happen using a CLI (Command Line Interface).
* It is a Java application intended for students to keep track of various kinds tasks, events and other activities they might have.
* Students are able to tell their schedule for the week at a glance, with all the information they would need

== Site Map

* <<UserGuide#, User Guide>>
* <<DeveloperGuide#, Developer Guide>>
* <<LearningOutcomes#, Learning Outcomes>>
* <<AboutUs#, About Us>>
* <<ContactUs#, Contact Us>>

== Acknowledgements

* Libraries used: https://github.com/junit-team/junit5[JUnit5]
39 changes: 0 additions & 39 deletions README.md

This file was deleted.

42 changes: 42 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'com.github.johnrengelman.shadow' version '5.1.0'
id 'org.openjfx.javafxplugin' version '0.0.7'
}

group 'seedu.duke'
version '0.1.0'

checkstyle {
toolVersion = '8.23'
}

dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter:5.5.0'
}

test {
useJUnitPlatform()
}

shadowJar {
archiveBaseName = "duke"
archiveVersion = "0.1.3"
archiveClassifier = null
archiveAppendix = null
}

repositories {
mavenCentral()
}

application {
mainClassName = "DukeLauncher"
}

javafx {
version = "11.0.2"
modules = [ 'javafx.controls', 'javafx.fxml' ]
}
257 changes: 257 additions & 0 deletions config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,257 @@
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">

<!--
Checkstyle configuration that checks the Google coding conventions from Google Java Style
that can be found at https://google.github.io/styleguide/javaguide.html
Checkstyle is very configurable. Be sure to read the documentation at
http://checkstyle.sf.net (or in your downloaded distribution).
To completely disable a check, just comment it out or delete it from the file.
Authors: Max Vetrenko, Ruslan Diachenko, Roman Ivanov.
-->
<module name = "Checker">
<property name="charset" value="UTF-8"/>
<property name="severity" value="error"/>

<property name="fileExtensions" value="java, properties, xml"/>
<!-- Excludes all 'module-info.java' files -->
<!-- See https://checkstyle.org/config_filefilters.html -->
<module name="BeforeExecutionExclusionFileFilter">
<property name="fileNamePattern" value="module\-info\.java$"/>
</module>
<!-- Checks for whitespace -->
<!-- See http://checkstyle.sf.net/config_whitespace.html -->
<module name="FileTabCharacter">
<property name="eachLine" value="true"/>
</module>

<module name="TreeWalker">
<module name="OuterTypeFilename"/>
<module name="IllegalTokenText">
<property name="tokens" value="STRING_LITERAL, CHAR_LITERAL"/>
<property name="format"
value="\\u00(09|0(a|A)|0(c|C)|0(d|D)|22|27|5(C|c))|\\(0(10|11|12|14|15|42|47)|134)"/>
<property name="message"
value="Consider using special escape sequence instead of octal value or Unicode escaped value."/>
</module>
<module name="AvoidEscapedUnicodeCharacters">
<property name="allowEscapesForControlCharacters" value="true"/>
<property name="allowByTailComment" value="true"/>
<property name="allowNonPrintableEscapes" value="true"/>
</module>
<module name="LineLength">
<property name="max" value="120"/>
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
</module>
<module name="AvoidStarImport">
<property name="excludes" value="task"/>
</module>
<module name="OneTopLevelClass"/>
<module name="NoLineWrap"/>
<module name="EmptyBlock">
<property name="option" value="TEXT"/>
<property name="tokens"
value="LITERAL_TRY, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE, LITERAL_SWITCH"/>
</module>
<module name="NeedBraces"/>
<module name="LeftCurly"/>
<module name="RightCurly">
<property name="id" value="RightCurlySame"/>
<property name="tokens"
value="LITERAL_TRY, LITERAL_CATCH, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE,
LITERAL_DO"/>
</module>
<module name="RightCurly">
<property name="id" value="RightCurlyAlone"/>
<property name="option" value="alone"/>
<property name="tokens"
value="CLASS_DEF, METHOD_DEF, CTOR_DEF, LITERAL_FOR, LITERAL_WHILE, STATIC_INIT,
INSTANCE_INIT"/>
</module>
<module name="WhitespaceAround">
<property name="allowEmptyConstructors" value="true"/>
<property name="allowEmptyLambdas" value="true"/>
<property name="allowEmptyMethods" value="true"/>
<property name="allowEmptyTypes" value="true"/>
<property name="allowEmptyLoops" value="true"/>
<message key="ws.notFollowed"
value="WhitespaceAround: ''{0}'' is not followed by whitespace. Empty blocks may only be represented as '{}' when not part of a multi-block statement (4.1.3)"/>
<message key="ws.notPreceded"
value="WhitespaceAround: ''{0}'' is not preceded with whitespace."/>
</module>
<module name="OneStatementPerLine"/>
<module name="MultipleVariableDeclarations"/>
<module name="ArrayTypeStyle"/>
<module name="MissingSwitchDefault"/>
<module name="FallThrough"/>
<module name="UpperEll"/>
<module name="ModifierOrder"/>
<module name="EmptyLineSeparator">
<property name="allowNoEmptyLineBetweenFields" value="true"/>
</module>
<module name="SeparatorWrap">
<property name="id" value="SeparatorWrapDot"/>
<property name="tokens" value="DOT"/>
<property name="option" value="nl"/>
</module>
<module name="SeparatorWrap">
<property name="id" value="SeparatorWrapComma"/>
<property name="tokens" value="COMMA"/>
<property name="option" value="EOL"/>
</module>
<module name="SeparatorWrap">
<!-- ELLIPSIS is EOL until https://github.com/google/styleguide/issues/258 -->
<property name="id" value="SeparatorWrapEllipsis"/>
<property name="tokens" value="ELLIPSIS"/>
<property name="option" value="EOL"/>
</module>
<module name="SeparatorWrap">
<!-- ARRAY_DECLARATOR is EOL until https://github.com/google/styleguide/issues/259 -->
<property name="id" value="SeparatorWrapArrayDeclarator"/>
<property name="tokens" value="ARRAY_DECLARATOR"/>
<property name="option" value="EOL"/>
</module>
<module name="SeparatorWrap">
<property name="id" value="SeparatorWrapMethodRef"/>
<property name="tokens" value="METHOD_REF"/>
<property name="option" value="nl"/>
</module>
<module name="PackageName">
<property name="format" value="^[a-z]+(\.[a-z][a-z0-9]*)*$"/>
<message key="name.invalidPattern"
value="Package name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="TypeName">
<message key="name.invalidPattern"
value="Type name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="MemberName">
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9]*$"/>
<message key="name.invalidPattern"
value="Member name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="ParameterName">
<property name="format" value="^[a-z]([a-z0-9][a-zA-Z0-9]*)?$"/>
<message key="name.invalidPattern"
value="Parameter name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="LambdaParameterName">
<property name="format" value="^[a-z]([a-z0-9][a-zA-Z0-9]*)?$"/>
<message key="name.invalidPattern"
value="Lambda parameter name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="CatchParameterName">
<property name="format" value="^[a-z]([a-z0-9][a-zA-Z0-9]*)?$"/>
<message key="name.invalidPattern"
value="Catch parameter name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="LocalVariableName">
<property name="tokens" value="VARIABLE_DEF"/>
<property name="format" value="^[a-z]([a-z0-9][a-zA-Z0-9]*)?$"/>
<message key="name.invalidPattern"
value="Local variable name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="ClassTypeParameterName">
<property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
<message key="name.invalidPattern"
value="Class type name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="MethodTypeParameterName">
<property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
<message key="name.invalidPattern"
value="Method type name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="InterfaceTypeParameterName">
<property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
<message key="name.invalidPattern"
value="Interface type name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="NoFinalizer"/>
<module name="GenericWhitespace">
<message key="ws.followed"
value="GenericWhitespace ''{0}'' is followed by whitespace."/>
<message key="ws.preceded"
value="GenericWhitespace ''{0}'' is preceded with whitespace."/>
<message key="ws.illegalFollow"
value="GenericWhitespace ''{0}'' should followed by whitespace."/>
<message key="ws.notPreceded"
value="GenericWhitespace ''{0}'' is not preceded with whitespace."/>
</module>
<module name="Indentation">
<property name="basicOffset" value="4"/>
<property name="braceAdjustment" value="0"/>
<property name="caseIndent" value="0"/>
<property name="throwsIndent" value="4"/>
<property name="lineWrappingIndentation" value="4"/>
<property name="arrayInitIndent" value="4"/>
</module>
<module name="AbbreviationAsWordInName">
<property name="ignoreFinal" value="false"/>
<property name="allowedAbbreviationLength" value="1"/>
</module>
<module name="OverloadMethodsDeclarationOrder"/>
<module name="VariableDeclarationUsageDistance"/>
<module name="MethodParamPad"/>
<module name="NoWhitespaceBefore">
<property name="tokens"
value="COMMA, SEMI, POST_INC, POST_DEC, DOT, ELLIPSIS, METHOD_REF"/>
<property name="allowLineBreaks" value="true"/>
</module>
<module name="ParenPad"/>
<module name="OperatorWrap">
<property name="option" value="NL"/>
<property name="tokens"
value="BAND, BOR, BSR, BXOR, DIV, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR,
LT, MINUS, MOD, NOT_EQUAL, PLUS, QUESTION, SL, SR, STAR, METHOD_REF "/>
</module>
<module name="AnnotationLocation">
<property name="id" value="AnnotationLocationMostCases"/>
<property name="tokens"
value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF"/>
</module>
<module name="AnnotationLocation">
<property name="id" value="AnnotationLocationVariables"/>
<property name="tokens" value="VARIABLE_DEF"/>
<property name="allowSamelineMultipleAnnotations" value="true"/>
</module>
<module name="NonEmptyAtclauseDescription"/>
<module name="JavadocTagContinuationIndentation"/>
<module name="SummaryJavadoc">
<property name="forbiddenSummaryFragments"
value="^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"/>
</module>
<module name="JavadocParagraph"/>
<module name="AtclauseOrder">
<property name="tagOrder" value="@param, @return, @throws, @deprecated"/>
<property name="target"
value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
</module>
<module name="JavadocMethod">
<property name="scope" value="public"/>
<property name="allowMissingParamTags" value="true"/>
<property name="allowMissingThrowsTags" value="true"/>
<property name="allowMissingReturnTag" value="true"/>
<property name="allowedAnnotations" value="Override, Test"/>
<property name="allowThrowsTagsForSubclasses" value="true"/>
</module>
<module name="MissingJavadocMethod">
<property name="scope" value="public"/>
<property name="minLineCount" value="2"/>
<property name="allowedAnnotations" value="Override, Test"/>
</module>
<module name="MethodName">
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9_]*$"/>
<message key="name.invalidPattern"
value="Method name ''{0}'' must match pattern ''{1}''."/>
</module>
<module name="SingleLineJavadoc">
<property name="ignoreInlineTags" value="false"/>
</module>
<module name="EmptyCatchBlock">
<property name="exceptionVariableName" value="expected"/>
</module>
<module name="CommentsIndentation"/>
</module>
</module>
Loading