File tree 5 files changed +10
-6
lines changed
main/java/com/blueconic/browscap
test/java/com/blueconic/browscap/impl
5 files changed +10
-6
lines changed Original file line number Diff line number Diff line change
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
+
1
5
1.2.4 - 15 August 2018
2
6
- Updated to browscap 6000030
3
7
- Updated unit tests accordingly
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ Add this to the dependencies in your pom.xml.
42
42
<dependency >
43
43
<groupId >com.blueconic</groupId >
44
44
<artifactId >browscap-java</artifactId >
45
- <version >1.2.4 </version >
45
+ <version >1.2.5 </version >
46
46
</dependency >
47
47
```
48
48
Original file line number Diff line number Diff line change 4
4
<groupId >com.blueconic</groupId >
5
5
<artifactId >browscap-java</artifactId >
6
6
<packaging >jar</packaging >
7
- <version >1.2.4 </version >
7
+ <version >1.2.5 </version >
8
8
<name >browscap-java</name >
9
9
<description >A blazingly fast and memory efficient Java client on top of the BrowsCap CSV source files.</description >
10
10
Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ public UserAgentService(final String zipFilePath) {
41
41
42
42
/**
43
43
* 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
46
46
*/
47
47
public UserAgentService (final InputStream zipFileStream ) {
48
48
myZipFileStream = zipFileStream ;
Original file line number Diff line number Diff line change @@ -139,8 +139,8 @@ private int processCustomUserAgentFile(final UserAgentParser parser) throws IOEx
139
139
final Capabilities result = parser .parse (properties [10 ]); // check the values
140
140
141
141
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");
144
144
145
145
assertEquals (properties [y ++], result .getBrowser ());
146
146
assertEquals (properties [y ++], result .getBrowserType ());
You can’t perform that action at this time.
0 commit comments