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

Unified Diff: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Outline.java

Issue 538253002: Use primitive int/boolean where possible in the Java client. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
Index: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Outline.java
diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Outline.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Outline.java
index 88b065882c4f168fd22dc2ead8b8e635b09593ec..768a319b67f3142577f41cc655f5d376a8794214 100644
--- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Outline.java
+++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/Outline.java
@@ -53,12 +53,12 @@ public class Outline {
* Element, which if the offset of the name of the element. It can be used, for example, to map
* locations in the file back to an outline.
*/
- private final Integer offset;
+ private final int offset;
/**
* The length of the element.
*/
- private final Integer length;
+ private final int length;
private final Outline parent;
@@ -67,7 +67,7 @@ public class Outline {
/**
* Constructor for {@link Outline}.
*/
- public Outline(Outline parent, Element element, Integer offset, Integer length) {
+ public Outline(Outline parent, Element element, int offset, int length) {
this.parent = parent;
this.element = element;
this.offset = offset;
@@ -135,7 +135,7 @@ public class Outline {
/**
* The length of the element.
*/
- public Integer getLength() {
+ public int getLength() {
return length;
}
@@ -144,7 +144,7 @@ public class Outline {
* Element, which if the offset of the name of the element. It can be used, for example, to map
* locations in the file back to an outline.
*/
- public Integer getOffset() {
+ public int getOffset() {
return offset;
}

Powered by Google App Engine
This is Rietveld 408576698