mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup — add NotNull
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -85,7 +85,7 @@ public class CompilerModuleExtensionImpl extends CompilerModuleExtension {
|
||||
|
||||
|
||||
@Override
|
||||
public void readExternal(final Element element) throws InvalidDataException {
|
||||
public void readExternal(@NotNull Element element) throws InvalidDataException {
|
||||
assert !myDisposed;
|
||||
final String value = element.getAttributeValue(JpsJavaModelSerializerExtension.INHERIT_COMPILER_OUTPUT_ATTRIBUTE);
|
||||
myInheritedCompilerOutput = value != null && Boolean.parseBoolean(value);
|
||||
@@ -101,7 +101,7 @@ public class CompilerModuleExtensionImpl extends CompilerModuleExtension {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeExternal(final Element element) throws WriteExternalException {
|
||||
public void writeExternal(@NotNull Element element) throws WriteExternalException {
|
||||
assert !myDisposed;
|
||||
if (!myInheritedCompilerOutput) {
|
||||
if (myCompilerOutput != null) {
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2012 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -101,7 +101,7 @@ public class JavaModuleExternalPathsImpl extends JavaModuleExternalPaths {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void readExternal(Element element) throws InvalidDataException {
|
||||
public void readExternal(@NotNull Element element) throws InvalidDataException {
|
||||
for (PersistentOrderRootType orderRootType : OrderRootType.getAllPersistentTypes()) {
|
||||
String paths = orderRootType.getModulePathsName();
|
||||
if (paths != null) {
|
||||
@@ -116,7 +116,7 @@ public class JavaModuleExternalPathsImpl extends JavaModuleExternalPaths {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeExternal(Element element) throws WriteExternalException {
|
||||
public void writeExternal(@NotNull Element element) throws WriteExternalException {
|
||||
for (OrderRootType orderRootType : myOrderRootPointerContainers.keySet()) {
|
||||
VirtualFilePointerContainer container = myOrderRootPointerContainers.get(orderRootType);
|
||||
if (container != null && container.size() > 0) {
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2014 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -149,11 +149,11 @@ public class MavenSourceFoldersModuleExtension extends ModuleExtension<MavenSour
|
||||
}
|
||||
|
||||
@Override
|
||||
public void readExternal(Element element) throws InvalidDataException {
|
||||
public void readExternal(@NotNull Element element) throws InvalidDataException {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeExternal(Element element) throws WriteExternalException {
|
||||
public void writeExternal(@NotNull Element element) throws WriteExternalException {
|
||||
}
|
||||
|
||||
public void clearSourceFolders() {
|
||||
|
||||
Reference in New Issue
Block a user