Add base event class.

This commit is contained in:
Johannes Mockenhaupt 2017-10-14 15:31:03 +02:00
parent 5a446c9ab5
commit 8ad223e5e1
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1
2 changed files with 11 additions and 0 deletions

View file

@ -150,6 +150,7 @@ dependencies {
compile('com.github.tony19:logback-android-classic:1.1.1-6') {
exclude group: 'com.google.android', module: 'android'
}
compile 'org.apache.commons:commons-lang3:3.6'
compile 'org.slf4j:slf4j-api:1.7.12'
compile 'com.jjoe64:graphview:4.0.1'
compile 'com.eclipsesource.j2v8:j2v8:3.1.6@aar'

View file

@ -0,0 +1,10 @@
package info.nightscout.androidaps.events;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
abstract class Event {
@Override
public String toString() {
return ReflectionToStringBuilder.toString(this);
}
}