Skip to content

Commit

Permalink
[#5] Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
psiotwo committed Mar 14, 2023
1 parent 99c4f9b commit da4d518
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 8 deletions.
4 changes: 4 additions & 0 deletions src/main/java/cz/sio2/obo/VersionFetcher.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package cz.sio2.obo;

import cz.sio2.obo.versionextractor.FSVersionExtractor;
import cz.sio2.obo.versionextractor.RDFXMLVersionExtractor;
import cz.sio2.obo.versionextractor.VersionExtractor;
import cz.sio2.obo.versionextractor.XMLVersionExtractor;
import lombok.extern.slf4j.Slf4j;
import org.apache.hc.client5.http.classic.HttpClient;
import org.apache.hc.client5.http.classic.methods.HttpGet;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cz.sio2.obo;
package cz.sio2.obo.versionextractor;

import java.util.regex.Pattern;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cz.sio2.obo;
package cz.sio2.obo.versionextractor;

import java.util.regex.Pattern;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
package cz.sio2.obo;
package cz.sio2.obo.versionextractor;

import cz.sio2.obo.Version;

import java.util.regex.Matcher;
import java.util.regex.Pattern;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package cz.sio2.obo;
package cz.sio2.obo.versionextractor;

import java.util.regex.Pattern;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package cz.sio2.obo;
package cz.sio2.obo.versionextractor;

import cz.sio2.obo.Version;
import cz.sio2.obo.versionextractor.FSVersionExtractor;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvFileSource;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package cz.sio2.obo;
package cz.sio2.obo.versionextractor;

import cz.sio2.obo.Version;
import cz.sio2.obo.versionextractor.RDFXMLVersionExtractor;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvFileSource;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package cz.sio2.obo;
package cz.sio2.obo.versionextractor;

import cz.sio2.obo.Version;
import cz.sio2.obo.versionextractor.XMLVersionExtractor;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvFileSource;

Expand Down

0 comments on commit da4d518

Please sign in to comment.