Skip to content

Commit 77ccd85

Browse files
committed
Merge pull request #14
* updated to version 1.2.5 * updated readme and CHANGELOG.txt * format code
1 parent c63b59d commit 77ccd85

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

CHANGELOG.txt

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
1.2.5 - 21 Sept 2018
2+
- Merged pull request https://github.com/blueconic/browscap-java/pull/14.
3+
It is now possible to supply your own BrowsCap ZIP file as file input stream in the constructor.
4+
15
1.2.4 - 15 August 2018
26
- Updated to browscap 6000030
37
- Updated unit tests accordingly

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Add this to the dependencies in your pom.xml.
4242
<dependency>
4343
<groupId>com.blueconic</groupId>
4444
<artifactId>browscap-java</artifactId>
45-
<version>1.2.4</version>
45+
<version>1.2.5</version>
4646
</dependency>
4747
```
4848

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.blueconic</groupId>
55
<artifactId>browscap-java</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.2.4</version>
7+
<version>1.2.5</version>
88
<name>browscap-java</name>
99
<description>A blazingly fast and memory efficient Java client on top of the BrowsCap CSV source files.</description>
1010

src/main/java/com/blueconic/browscap/UserAgentService.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ public UserAgentService(final String zipFilePath) {
4141

4242
/**
4343
* Creates a user agent service based on the Browscap CSV file in the given ZIP InputStream
44-
* @param zipFileStream the zip InputStream should contain the csv file. It will load
45-
* the given zip InputStream instead of the bundled zip file
44+
* @param zipFileStream the zip InputStream should contain the csv file. It will load the given zip InputStream
45+
* instead of the bundled zip file
4646
*/
4747
public UserAgentService(final InputStream zipFileStream) {
4848
myZipFileStream = zipFileStream;

src/test/java/com/blueconic/browscap/impl/UserAgentServiceTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ private int processCustomUserAgentFile(final UserAgentParser parser) throws IOEx
139139
final Capabilities result = parser.parse(properties[10]); // check the values
140140

141141
int y = 0;
142-
// System.out.println(result + "===" + properties[10] + "\n");
143-
// System.out.println("Custom Fields" + result.getValues() + "===" + properties[10] + "\n");
142+
// System.out.println(result + "===" + properties[10] + "\n");
143+
// System.out.println("Custom Fields" + result.getValues() + "===" + properties[10] + "\n");
144144

145145
assertEquals(properties[y++], result.getBrowser());
146146
assertEquals(properties[y++], result.getBrowserType());

0 commit comments

Comments
 (0)