checkstyle: don't allow multiple empty lines

This commit is contained in:
Daniel Martí 2015-11-30 10:40:35 +01:00
parent 04e730c6bb
commit 098241c981
4 changed files with 1 additions and 6 deletions

View File

@ -329,7 +329,6 @@ public class AppDetails extends AppCompatActivity implements ProgressListener, A
private final Context mctx = this; private final Context mctx = this;
private Installer installer; private Installer installer;
private AppDetailsHeaderFragment mHeaderFragment; private AppDetailsHeaderFragment mHeaderFragment;
/** /**
@ -553,7 +552,6 @@ public class AppDetails extends AppCompatActivity implements ProgressListener, A
} }
@Override @Override
public Object onRetainCustomNonConfigurationInstance() { public Object onRetainCustomNonConfigurationInstance() {
inProcessOfChangingConfiguration = true; inProcessOfChangingConfiguration = true;
@ -665,7 +663,6 @@ public class AppDetails extends AppCompatActivity implements ProgressListener, A
return true; return true;
} }
private void tryOpenUri(String s) { private void tryOpenUri(String s) {
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(s)); Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(s));
if (intent.resolveActivity(mPm) == null) { if (intent.resolveActivity(mPm) == null) {

View File

@ -51,7 +51,6 @@ public class WifiPeer implements Peer {
return shouldPromptForSwapBack; return shouldPromptForSwapBack;
} }
@Override @Override
public int describeContents() { public int describeContents() {
return 0; return 0;

View File

@ -195,7 +195,6 @@ public class BluetoothServer extends Thread {
} }
private Response respond(Map<String, String> headers, String uri) { private Response respond(Map<String, String> headers, String uri) {
// Remove URL arguments // Remove URL arguments
uri = uri.trim().replace(File.separatorChar, '/'); uri = uri.trim().replace(File.separatorChar, '/');

View File

@ -42,7 +42,7 @@
<module name="Indentation" /> <module name="Indentation" />
<module name="EmptyLineSeparator"> <module name="EmptyLineSeparator">
<property name="allowNoEmptyLineBetweenFields" value="true" /> <property name="allowNoEmptyLineBetweenFields" value="true" />
<!--<property name="allowMultipleEmptyLines" value="false" />--> <property name="allowMultipleEmptyLines" value="false" />
</module> </module>
<module name="SeparatorWrap"> <module name="SeparatorWrap">
<property name="tokens" value="COMMA" /> <property name="tokens" value="COMMA" />