Skip to content

Commit 30ee1d3

Browse files
Updated libraries
1 parent 10a0cc8 commit 30ee1d3

4 files changed

Lines changed: 9 additions & 29 deletions

File tree

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017 Mauricio Togneri
3+
Copyright (c) 2018 Mauricio Togneri
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ and the dependency:
2323
<dependency>
2424
<groupId>com.mauriciotogneri</groupId>
2525
<artifactId>javautils</artifactId>
26-
<version>1.8.0</version>
26+
<version>2.9.1</version>
2727
</dependency>
2828
```
2929

@@ -32,6 +32,6 @@ or if you use Gradle:
3232
```groovy
3333
dependencies
3434
{
35-
compile 'com.mauriciotogneri:javautils:1.8.0'
35+
compile 'com.mauriciotogneri:javautils:2.9.1'
3636
}
3737
```

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<modelVersion>4.0.0</modelVersion>
88
<groupId>com.mauriciotogneri</groupId>
99
<artifactId>javautils</artifactId>
10-
<version>1.8.0</version>
10+
<version>2.9.1</version>
1111
<name>Java Utils</name>
1212
<packaging>jar</packaging>
1313
<url>https://github.com/mauriciotogneri/java-utils</url>
@@ -24,7 +24,7 @@
2424
<plugin>
2525
<groupId>org.apache.maven.plugins</groupId>
2626
<artifactId>maven-compiler-plugin</artifactId>
27-
<version>3.7.0</version>
27+
<version>3.8.0</version>
2828
<configuration>
2929
<source>1.7</source>
3030
<target>1.7</target>
@@ -33,7 +33,7 @@
3333
<plugin>
3434
<groupId>org.apache.maven.plugins</groupId>
3535
<artifactId>maven-jar-plugin</artifactId>
36-
<version>3.0.2</version>
36+
<version>3.1.0</version>
3737
</plugin>
3838
<plugin>
3939
<groupId>org.apache.maven.plugins</groupId>
@@ -69,19 +69,19 @@
6969
<dependency>
7070
<groupId>com.google.code.gson</groupId>
7171
<artifactId>gson</artifactId>
72-
<version>2.8.2</version>
72+
<version>2.8.5</version>
7373
</dependency>
7474

7575
<dependency>
7676
<groupId>org.greenrobot</groupId>
7777
<artifactId>eventbus</artifactId>
78-
<version>3.0.0</version>
78+
<version>3.1.1</version>
7979
</dependency>
8080

8181
<dependency>
8282
<groupId>joda-time</groupId>
8383
<artifactId>joda-time</artifactId>
84-
<version>2.9.9</version>
84+
<version>2.10</version>
8585
</dependency>
8686

8787
</dependencies>

src/main/java/com/mauriciotogneri/javautils/Bus.java

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ private Bus()
88
{
99
}
1010

11-
public static void register(Object subscriber)
12-
{
13-
register(subscriber, EventBus.getDefault());
14-
}
15-
1611
public static void register(Object subscriber, EventBus bus)
1712
{
1813
try
@@ -28,11 +23,6 @@ public static void register(Object subscriber, EventBus bus)
2823
}
2924
}
3025

31-
public static void unregister(Object subscriber)
32-
{
33-
unregister(subscriber, EventBus.getDefault());
34-
}
35-
3626
public static void unregister(Object subscriber, EventBus bus)
3727
{
3828
try
@@ -47,14 +37,4 @@ public static void unregister(Object subscriber, EventBus bus)
4737
// ignore
4838
}
4939
}
50-
51-
public static void post(Object event)
52-
{
53-
post(event, EventBus.getDefault());
54-
}
55-
56-
public static void post(Object event, EventBus bus)
57-
{
58-
bus.post(event);
59-
}
6040
}

0 commit comments

Comments
 (0)