Skip to content

Commit 00b2ee2

Browse files
committed
Code style refactoring and added instructions on how to do it on README
1 parent d21b178 commit 00b2ee2

File tree

188 files changed

+16105
-16259
lines changed

Some content is hidden

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

188 files changed

+16105
-16259
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ Feel free to add yourself to [contributors.md](https://github.com/federicoiosue/
9090

9191
This kind of contributions **must** have screenshots or screencast as demonstration of the new additions.
9292

93+
### Code style
94+
95+
If you plan to manipulate the code then you'll have to do it by following a [specific code style](https://gist.github.com/federicoiosue/dee53e882b3c70d544f8608769eb02fc).
96+
Also pay attention if you're using any plugin that automatically formats/cleans/rearrange your code and set it to only change that code that you touched and not the whole files.
97+
9398
### Test your code contributions!
9499

95100
All code changes and additions **must** be tested.

omniNotes/src/alpha/java/it.feio.android.omninotes.helpers/GeocodeProviderFactory.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@
1717

1818
package it.feio.android.omninotes.helpers;
1919

20-
import android.content.Context;
21-
22-
import io.nlopez.smartlocation.location.LocationProvider;
23-
24-
2520
public class GeocodeProviderFactory extends GeocodeProviderBaseFactory {
2621

2722
}

omniNotes/src/alpha/java/it/feio/android/omninotes/utils/Constants.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
public interface Constants extends ConstantsBase {
55

6-
String TAG = "Omni Notes Alpha";
7-
String EXTERNAL_STORAGE_FOLDER = "Omni Notes Alpha";
8-
String PACKAGE = "it.feio.android.omninotes.alpha";
9-
String PREFS_NAME = PACKAGE + "_preferences";
6+
String TAG = "Omni Notes Alpha";
7+
String EXTERNAL_STORAGE_FOLDER = "Omni Notes Alpha";
8+
String PACKAGE = "it.feio.android.omninotes.alpha";
9+
String PREFS_NAME = PACKAGE + "_preferences";
1010

1111
}

0 commit comments

Comments
 (0)