aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Häggqvist <[email protected]>2015-10-10 21:37:02 +0200
committerVictor Häggqvist <[email protected]>2015-10-10 21:37:02 +0200
commitb1f1e8903bcc44edf1e35d325ba19d171d8e1a40 (patch)
treecae1c29ca1e1ac3d5b1d2153092b280adccd5ada
parent5e1077502b0c046555bf5f2ab45c44d349cb9fc8 (diff)
fix formatting
-rw-r--r--aboutit/src/main/java/com/snilius/aboutit/LibBuilder.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/aboutit/src/main/java/com/snilius/aboutit/LibBuilder.java b/aboutit/src/main/java/com/snilius/aboutit/LibBuilder.java
index cfcae87..2ff1bbd 100644
--- a/aboutit/src/main/java/com/snilius/aboutit/LibBuilder.java
+++ b/aboutit/src/main/java/com/snilius/aboutit/LibBuilder.java
@@ -4,10 +4,12 @@ import android.util.Log;
/**
* Library builder
+ *
* @author Victor Häggqvist
* @since 9/17/15
*/
public class LibBuilder {
+
private static final String TAG = LibBuilder.class.getSimpleName();
private String name;
@@ -18,24 +20,21 @@ public class LibBuilder {
public LibBuilder() {
name = "";
author = "";
- license= null;
+ license = null;
url = "";
}
public LibBuilder name(String name) {
-
this.name = name;
return this;
}
public LibBuilder author(String author) {
-
this.author = author;
return this;
}
public LibBuilder license(LicenseBase license) {
-
this.license = license;
return this;
}
@@ -49,7 +48,7 @@ public class LibBuilder {
if (name == null && author == null && license == null && url == null) {
Log.d(TAG, "This Library Builder is empty. You should either remove it or fill it out.");
}
- return new AboutIt.Lib(name, author, license,url);
+ return new AboutIt.Lib(name, author, license, url);
}
}