Skip to content

Commit

Permalink
Merge pull request #2 from franc90/master
Browse files Browse the repository at this point in the history
update packaging, version, add license
  • Loading branch information
ertugrulcetin authored Sep 5, 2016
2 parents 12ca270 + 64558d5 commit 028c897
Show file tree
Hide file tree
Showing 19 changed files with 69 additions and 58 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,3 @@ crashlytics-build.properties
/target

/resources

/src/test
17 changes: 16 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,20 @@ public class ExternalPathExample {

~~~~~


#License
```
Copyright 2016 Ertuğrul Çetin
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```

4 changes: 1 addition & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.commentremover</groupId>
<artifactId>comment-remover</artifactId>
<version>1.0</version>
<version>1.2-SNAPSHOT</version>
<packaging>jar</packaging>

<properties>
Expand Down Expand Up @@ -54,8 +54,6 @@
</plugin>
</plugins>
</pluginManagement>

</build>


</project>
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package app;
package com.commentremover.app;

import exception.CommentRemoverException;
import handling.UserInputHandler;
import utility.CommentUtility;
import com.commentremover.exception.CommentRemoverException;
import com.commentremover.handling.UserInputHandler;
import com.commentremover.utility.CommentUtility;

import java.io.IOException;
import java.nio.file.FileVisitResult;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package app;
package com.commentremover.app;

import java.util.Arrays;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package app;

import exception.CommentRemoverException;
import processors.CSSFileProcessor;
import processors.HTMLFileProcessor;
import processors.JSPFileProcessor;
import processors.JavaFileProcessor;
import processors.JavaScriptFileProcessor;
import processors.PropertyFileProcessor;
import processors.XMLFileProcessor;
import utility.CommentUtility;
package com.commentremover.app;

import com.commentremover.exception.CommentRemoverException;
import com.commentremover.processors.CSSFileProcessor;
import com.commentremover.processors.HTMLFileProcessor;
import com.commentremover.processors.JSPFileProcessor;
import com.commentremover.processors.JavaFileProcessor;
import com.commentremover.processors.JavaScriptFileProcessor;
import com.commentremover.processors.PropertyFileProcessor;
import com.commentremover.processors.XMLFileProcessor;
import com.commentremover.utility.CommentUtility;

import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package exception;
package com.commentremover.exception;

public class CommentRemoverException extends Exception {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package handling;
package com.commentremover.handling;

import pattern.RegexPatterns;
import com.commentremover.pattern.RegexPatterns;

public class RegexSelector {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package handling;
package com.commentremover.handling;

import app.CommentRemover;
import exception.CommentRemoverException;
import utility.CommentUtility;
import com.commentremover.app.CommentRemover;
import com.commentremover.exception.CommentRemoverException;
import com.commentremover.utility.CommentUtility;

import java.io.File;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pattern;
package com.commentremover.pattern;

public class RegexPatterns {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package processors;
package com.commentremover.processors;

import app.CommentRemover;
import exception.CommentRemoverException;
import com.commentremover.app.CommentRemover;
import com.commentremover.exception.CommentRemoverException;

import java.io.BufferedReader;
import java.io.BufferedWriter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package processors;
package com.commentremover.processors;

import app.CommentRemover;
import exception.CommentRemoverException;
import handling.RegexSelector;
import com.commentremover.app.CommentRemover;
import com.commentremover.exception.CommentRemoverException;
import com.commentremover.handling.RegexSelector;

import java.io.File;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package processors;
package com.commentremover.processors;

import app.CommentRemover;
import com.commentremover.app.CommentRemover;

public class HTMLFileProcessor extends XMLFileProcessor {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package processors;
package com.commentremover.processors;

import app.CommentRemover;
import exception.CommentRemoverException;
import handling.RegexSelector;
import com.commentremover.app.CommentRemover;
import com.commentremover.exception.CommentRemoverException;
import com.commentremover.handling.RegexSelector;

import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package processors;
package com.commentremover.processors;

import java.io.BufferedReader;
import java.io.File;
Expand All @@ -9,9 +9,9 @@
import java.util.regex.Matcher;
import java.util.regex.Pattern;

import app.CommentRemover;
import exception.CommentRemoverException;
import handling.RegexSelector;
import com.commentremover.app.CommentRemover;
import com.commentremover.exception.CommentRemoverException;
import com.commentremover.handling.RegexSelector;

public class JavaFileProcessor extends AbstractFileProcessor {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package processors;
package com.commentremover.processors;

import app.CommentRemover;
import com.commentremover.app.CommentRemover;

public class JavaScriptFileProcessor extends JavaFileProcessor {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package processors;
package com.commentremover.processors;

import app.CommentRemover;
import exception.CommentRemoverException;
import handling.RegexSelector;
import com.commentremover.app.CommentRemover;
import com.commentremover.exception.CommentRemoverException;
import com.commentremover.handling.RegexSelector;

import java.io.BufferedReader;
import java.io.File;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package processors;
package com.commentremover.processors;

import app.CommentRemover;
import exception.CommentRemoverException;
import handling.RegexSelector;
import com.commentremover.app.CommentRemover;
import com.commentremover.exception.CommentRemoverException;
import com.commentremover.handling.RegexSelector;

import java.io.File;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package utility;
package com.commentremover.utility;

public class CommentUtility {

Expand Down

0 comments on commit 028c897

Please sign in to comment.