-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
53 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.zols.utils; | ||
|
||
import java.io.File; | ||
import java.io.FilenameFilter; | ||
|
||
public class GenericExtFilter implements FilenameFilter { | ||
|
||
private String ext; | ||
|
||
public GenericExtFilter(String ext) { | ||
this.ext = ext; | ||
} | ||
|
||
public String getExt() { | ||
return ext; | ||
} | ||
|
||
public boolean accept(File dir, String name) { | ||
return ((!dir.getName().equals("mobile") && !dir.getName().equals( | ||
"tablet")) && (name.endsWith(ext) || new File( | ||
dir.getAbsolutePath() + File.separator + name).isDirectory())); | ||
} | ||
} |
12 changes: 9 additions & 3 deletions
12
webmvc/src/main/java/org/zols/swagger/NameEndPointComparator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 9 additions & 3 deletions
12
webmvc/src/main/java/org/zols/swagger/NameOperationComparator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 0 additions & 33 deletions
33
webmvc/src/test/java/com/zols/templatemanager/TemplateRepositoryManagerTest.java
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
webmvc/src/test/java/com/zols/templatemanager/TestServiceMetaData.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.