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

Issue 8387002: Fix for the DeltaProcessing event when a user changes a library name, inside of a #library(..). I... (Closed)

Created:
9 years, 2 months ago by jwren
Modified:
9 years, 2 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix for the DeltaProcessing event when a user changes a library name, inside of a #library(..). If there is no such library directive, the assumed name of the library is the name of the defining-CompilationUnit file. This fixes Issue 133: http://code.google.com/p/dart/issues/detail?id=133 Committed: https://code.google.com/p/dart/source/detail?r=657

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Messages

Total messages: 5 (0 generated)
jwren
http://codereview.chromium.org/8387002/diff/1/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/delta/DeltaProcessor.java File editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/delta/DeltaProcessor.java (right): http://codereview.chromium.org/8387002/diff/1/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/delta/DeltaProcessor.java#newcode1030 editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/delta/DeltaProcessor.java:1030: // way from DartLibraryImpl#getDisplayName() This is brittle- if DartLibraryImpl#getDisplayName() ...
9 years, 2 months ago (2011-10-24 20:54:49 UTC) #1
Brian Wilkerson
http://codereview.chromium.org/8387002/diff/1/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/delta/DeltaProcessor.java File editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/delta/DeltaProcessor.java (right): http://codereview.chromium.org/8387002/diff/1/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/delta/DeltaProcessor.java#newcode1030 editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/delta/DeltaProcessor.java:1030: // way from DartLibraryImpl#getDisplayName() > Any objection to creating ...
9 years, 2 months ago (2011-10-24 22:03:56 UTC) #2
Brian Wilkerson
http://codereview.chromium.org/8387002/diff/4004/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartLibraryImpl.java File editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartLibraryImpl.java (right): http://codereview.chromium.org/8387002/diff/4004/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartLibraryImpl.java#newcode107 editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartLibraryImpl.java:107: public static String getImplicitLibraryName(DartLibraryImpl library) { Why is this ...
9 years, 2 months ago (2011-10-24 22:17:55 UTC) #3
Brian Wilkerson
LGTM
9 years, 2 months ago (2011-10-24 22:18:18 UTC) #4
jwren
9 years, 2 months ago (2011-10-24 22:21:57 UTC) #5
http://codereview.chromium.org/8387002/diff/4004/editor/tools/plugins/com.goo...
File
editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartLibraryImpl.java
(right):

http://codereview.chromium.org/8387002/diff/4004/editor/tools/plugins/com.goo...
editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartLibraryImpl.java:107:
public static String getImplicitLibraryName(DartLibraryImpl library) {
On 2011/10/24 22:17:55, Brian Wilkerson wrote:
> Why is this a static method?

It doesn't need to be static, I don't know why I put it in as static, changing
it before a commit....

Powered by Google App Engine
This is Rietveld 408576698