Skip to content

Commit

Permalink
Add NotNull to method parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
evie-lau committed Oct 18, 2023
1 parent a5c12dd commit 087f792
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import com.intellij.openapi.vfs.VirtualFileManager;
import com.intellij.util.messages.MessageBusConnection;
import com.intellij.util.messages.Topic;
import org.jetbrains.annotations.NotNull;

import java.util.List;

Expand All @@ -38,7 +39,7 @@ public interface Listener {
void processConfigXml(List<String> uris);
}

public static LibertyCustomConfigManager getInstance(Project project) {
public static LibertyCustomConfigManager getInstance(@NotNull Project project) {
return project.getService(LibertyCustomConfigManager.class);
}

Expand Down

0 comments on commit 087f792

Please sign in to comment.