Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4177)

Issue 286250043: Fix infinite recursion bug in util.Abbreviator. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 2 months ago by kpreid_google
Modified:
8 years, 1 month ago
Reviewers:
MikeSamuel
CC:
google-caja-discuss_googlegroups.com
Visibility:
Public.

Description

If the table construction inserted "a/b/c" and then "b/c", it would fall into an infinite loop, rather than accepting that "b/c" cannot be improved on. Also add comments to the algorithm. @ 64bf67152ba4b829e45e0ae4319d9bcaea5ae030

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -14 lines) Patch
M src/com/google/caja/util/Abbreviator.java View 2 chunks +37 lines, -11 lines 0 comments Download
M tests/com/google/caja/util/AbbreviatorTest.java View 4 chunks +18 lines, -3 lines 0 comments Download

Messages

Total messages: 4
kpreid_google
8 years, 2 months ago (2016-02-10 23:33:16 UTC) #1
MikeSamuel
+1
8 years, 2 months ago (2016-02-11 13:16:45 UTC) #2
kpreid_google
On 2016/02/11 13:16:45, MikeSamuel wrote: > +1 Sorry, is that a LGTM?
8 years, 2 months ago (2016-02-11 17:50:30 UTC) #3
MikeSamuel
8 years, 2 months ago (2016-02-11 22:48:57 UTC) #4
Yes.  LGTM
On Feb 11, 2016 12:50 PM, <kpreid@google.com> wrote:

> On 2016/02/11 13:16:45, MikeSamuel wrote:
>
>> +1
>>
>
> Sorry, is that a LGTM?
>
> https://codereview.appspot.com/286250043/
>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b