File tree 4 files changed +5
-1
lines changed
flutter-idea/src/io/flutter
4 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ public String getSdkVersion() {
70
70
return getAnalysisService ().getSdkVersion ();
71
71
}
72
72
73
+ /** @noinspection BooleanMethodIsAlwaysInverted*/
73
74
public boolean isServerConnected () {
74
75
return !getSdkVersion ().isEmpty ();
75
76
}
Original file line number Diff line number Diff line change @@ -194,6 +194,7 @@ public String getRelativePath(@NotNull VirtualFile file) {
194
194
195
195
/**
196
196
* Returns true if the given file is a directory that contains tests.
197
+ * @noinspection BooleanMethodIsAlwaysInverted
197
198
*/
198
199
public boolean hasTests (@ NotNull VirtualFile dir ) {
199
200
if (!dir .isDirectory ()) return false ;
@@ -313,6 +314,7 @@ public VirtualFile getPackagesFile() {
313
314
/**
314
315
* Returns true if the packages are up-to-date with regard to the `pubspec.yaml`. The `.packages` file is used if no
315
316
* `.tool/package_config.json` is found. The default value returned is to return false.
317
+ * @noinspection BooleanMethodIsAlwaysInverted
316
318
*/
317
319
public boolean hasUpToDatePackages () {
318
320
// See context at these URLs for the reason we can't use VirtualFile#getTimeStamp()
Original file line number Diff line number Diff line change @@ -302,6 +302,7 @@ public ObservatoryConnector getConnector() {
302
302
return myConnector ;
303
303
}
304
304
305
+ /** @noinspection BooleanMethodIsAlwaysInverted*/
305
306
public boolean appSupportsHotReload () {
306
307
// Introspect based on registered services.
307
308
if (myVMServiceManager != null && myVMServiceManager .hasAnyRegisteredServices ()) {
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ public boolean canUseDevToolsMultiEmbed() {
131
131
return supportsVersion (MIN_SUPPORTS_DEVTOOLS_MULTI_EMBED );
132
132
}
133
133
134
- @ SuppressWarnings ( " BooleanMethodIsAlwaysInverted" )
134
+ /** @noinspection BooleanMethodIsAlwaysInverted*/
135
135
public boolean canUseDtd () {
136
136
return supportsVersion (MIN_SUPPORTS_DTD );
137
137
}
You can’t perform that action at this time.
0 commit comments