Skip to content

Commit 2c827cc

Browse files
committed
Formatting all java and res files. One formatter to rule em all, no more spaces or line wrapping allowed
1 parent acbe7fa commit 2c827cc

199 files changed

Lines changed: 4085 additions & 4189 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎AndroidAnnotations/androidannotations/pom.xml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
34
<modelVersion>4.0.0</modelVersion>
45

56
<parent>

‎AndroidAnnotations/androidannotations/src/main/java/com/googlecode/androidannotations/AndroidAnnotationProcessor.java‎

Lines changed: 197 additions & 211 deletions
Large diffs are not rendered by default.

‎AndroidAnnotations/androidannotations/src/main/java/com/googlecode/androidannotations/annotationprocessor/AnnotatedAbstractProcessor.java‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@ public Set<String> getSupportedAnnotationTypes() {
4848
SupportedAnnotationClasses sac = this.getClass().getAnnotation(SupportedAnnotationClasses.class);
4949
if (sac == null) {
5050
if (isInitialized())
51-
processingEnv.getMessager().printMessage(
52-
Diagnostic.Kind.WARNING,
53-
"No " + SupportedAnnotationClasses.class.getSimpleName() + " annotation " + "found on " + this.getClass().getName()
54-
+ ", returning parent method result.");
51+
processingEnv.getMessager().printMessage(Diagnostic.Kind.WARNING, "No " + SupportedAnnotationClasses.class.getSimpleName() + " annotation " + "found on " + this.getClass().getName() + ", returning parent method result.");
5552
return super.getSupportedAnnotationTypes();
5653
} else
5754
return arrayToSet(sac.value());

‎AndroidAnnotations/androidannotations/src/main/java/com/googlecode/androidannotations/annotations/Click.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@
3434
@Target(ElementType.METHOD)
3535
public @interface Click {
3636

37-
int [] value() default Id.DEFAULT_VALUE;
37+
int[] value() default Id.DEFAULT_VALUE;
3838

3939
}

‎AndroidAnnotations/androidannotations/src/main/java/com/googlecode/androidannotations/annotations/EViewGroup.java‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@
2121
import java.lang.annotation.Target;
2222

2323
/**
24-
* Should be used on custom component classes to enable usage of AndroidAnnotations
24+
* Should be used on custom component classes to enable usage of
25+
* AndroidAnnotations
2526
*
2627
* A custom component should extends ViewGroup.
2728
*
2829
* Any view related code should happen in an {@link AfterViews} annotated
29-
* method.<br><br>
30+
* method.<br>
31+
* <br>
3032
*
3133
* Supported annotations in @EViewGroup :
3234
*
@@ -41,7 +43,9 @@
4143
* <li>Touch</li>
4244
* </ul>
4345
*
44-
* @see <a href="http://developer.android.com/guide/topics/ui/custom-components.html">How to build a custom component.</a>
46+
* @see <a
47+
* href="http://developer.android.com/guide/topics/ui/custom-components.html">How
48+
* to build a custom component.</a>
4549
*
4650
*/
4751
@Retention(RetentionPolicy.SOURCE)

‎AndroidAnnotations/androidannotations/src/main/java/com/googlecode/androidannotations/annotations/Extra.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@
2828
@Retention(RetentionPolicy.SOURCE)
2929
@Target(ElementType.FIELD)
3030
public @interface Extra {
31-
String value();
31+
String value();
3232
}

‎AndroidAnnotations/androidannotations/src/main/java/com/googlecode/androidannotations/annotations/Id.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
public abstract class Id {
1919

2020
public static final int DEFAULT_VALUE = -1;
21-
21+
2222
private Id() {
2323
}
2424

‎AndroidAnnotations/androidannotations/src/main/java/com/googlecode/androidannotations/annotations/ItemClick.java‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
* Should be used on item click listener methods for AdapterView classes
2525
*
2626
* The method may have 0 or 1 parameter, that will be the object from the
27-
* adapter, at the selected position. It may be of any type, so be careful
28-
* about potential ClassCastException.
27+
* adapter, at the selected position. It may be of any type, so be careful about
28+
* potential ClassCastException.
2929
*
3030
* The annotation value should be one of R.id.* fields. If not set, the method
3131
* name will be used as the R.id.* field name.
@@ -38,5 +38,5 @@
3838
@Retention(RetentionPolicy.SOURCE)
3939
@Target(ElementType.METHOD)
4040
public @interface ItemClick {
41-
int [] value() default Id.DEFAULT_VALUE;
41+
int[] value() default Id.DEFAULT_VALUE;
4242
}

‎AndroidAnnotations/androidannotations/src/main/java/com/googlecode/androidannotations/annotations/ItemLongClick.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@
4242
@Retention(RetentionPolicy.SOURCE)
4343
@Target(ElementType.METHOD)
4444
public @interface ItemLongClick {
45-
int [] value() default Id.DEFAULT_VALUE;
45+
int[] value() default Id.DEFAULT_VALUE;
4646
}

‎AndroidAnnotations/androidannotations/src/main/java/com/googlecode/androidannotations/annotations/ItemSelect.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@
3939
@Retention(RetentionPolicy.SOURCE)
4040
@Target(ElementType.METHOD)
4141
public @interface ItemSelect {
42-
int [] value() default Id.DEFAULT_VALUE;
42+
int[] value() default Id.DEFAULT_VALUE;
4343
}

0 commit comments

Comments
 (0)