Skip to content

Commit

Permalink
tests for project filter package
Browse files Browse the repository at this point in the history
refs #7
  • Loading branch information
Idrinth committed Aug 24, 2017
1 parent e645e38 commit 348a94a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
language: java
sudo: false
jdk: oraclejdk8
jdk: oraclejdk8
branches:
only:
- master
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# [Stellaris Mod Tools](https://github.com/Idrinths-Stellaris-Mods/Mod-Tools/releases/latest/)

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/23bfdba23039450aa3c16f06f93362ee)](https://www.codacy.com/app/Idrinth/Mod-Tools?utm_source=github.com&utm_medium=referral&utm_content=Idrinths-Stellaris-Mods/Mod-Tools&utm_campaign=Badge_Grade)
[!Travis Build](https://api.travis-ci.org/Idrinths-Stellaris-Mods/Mod-Tools.svg?branch=master)

## Current Features

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ public class FileExt implements java.io.FilenameFilter {
protected String extension;

public FileExt(String extension) {
this.extension = "." + extension;
this.extension = extension.charAt(0) == ".".charAt(0) ? extension : "." + extension;
System.out.println(extension.matches("^\\."));
System.out.println(this.extension);
}

@Override
Expand Down

0 comments on commit 348a94a

Please sign in to comment.