Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(694)

Unified Diff: pkg/analysis_server/tool/spec/generated/java/types/NavigationRegion.java

Issue 1328273002: Explicitly document that NavigationRegion.targets cannot be empty. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analysis_server/lib/src/generated_protocol.dart ('k') | pkg/analysis_server/tool/spec/spec_input.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/tool/spec/generated/java/types/NavigationRegion.java
diff --git a/pkg/analysis_server/tool/spec/generated/java/types/NavigationRegion.java b/pkg/analysis_server/tool/spec/generated/java/types/NavigationRegion.java
index b42bdc7b6e495051da7b2040054398a71e10caec..85000560149a3673769efcacf0d578155afe79df 100644
--- a/pkg/analysis_server/tool/spec/generated/java/types/NavigationRegion.java
+++ b/pkg/analysis_server/tool/spec/generated/java/types/NavigationRegion.java
@@ -55,7 +55,8 @@ public class NavigationRegion {
/**
* The indexes of the targets (in the enclosing navigation response) to which the given region is
- * bound. By opening the target, clients can implement one form of navigation.
+ * bound. By opening the target, clients can implement one form of navigation. This list cannot be
+ * empty.
*/
private final int[] targets;
@@ -125,7 +126,8 @@ public class NavigationRegion {
/**
* The indexes of the targets (in the enclosing navigation response) to which the given region is
- * bound. By opening the target, clients can implement one form of navigation.
+ * bound. By opening the target, clients can implement one form of navigation. This list cannot be
+ * empty.
*/
public int[] getTargets() {
return targets;
« no previous file with comments | « pkg/analysis_server/lib/src/generated_protocol.dart ('k') | pkg/analysis_server/tool/spec/spec_input.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698