File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/main/java/com/securenative Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 66 <groupId >com.securenative.java</groupId >
77 <artifactId >securenative-java</artifactId >
88 <packaging >jar</packaging >
9- <version >0.4.7 </version >
9+ <version >0.4.8 </version >
1010 <url >https://github.com/securenative/securenative-java</url >
1111
1212 <name >${project.groupId} :${project.artifactId} :${project.version} </name >
6565 </execution >
6666 </executions >
6767 </plugin >
68-
68+
6969 <!-- Javadoc plugin -->
7070 <plugin >
7171 <groupId >org.apache.maven.plugins</groupId >
8080 </execution >
8181 </executions >
8282 </plugin >
83-
83+
8484 <!-- GPG plugin -->
8585 <plugin >
8686 <groupId >org.apache.maven.plugins</groupId >
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public EventOptionsBuilder timestamp(Date timestamp) {
6868 }
6969
7070 public EventOptions build () throws SecureNativeInvalidOptionsException {
71- if (this .eventOptions .getProperties ().size () > MAX_PROPERTIES_SIZE ) {
71+ if (this .eventOptions .getProperties () != null && this . eventOptions . getProperties () .size () > MAX_PROPERTIES_SIZE ) {
7272 throw new SecureNativeInvalidOptionsException (String .format ("You can have only up to %d custom properties" , MAX_PROPERTIES_SIZE ));
7373 }
7474 return this .eventOptions ;
You can’t perform that action at this time.
0 commit comments