[Ambra-dev] [Ambra-committers] [commit:topaz] r6460 Invalidatefeed cache on article publish and delete. Addresses #745.

Pradeep Krishnan pradeepk at soft-point.com
Fri Sep 26 10:09:07 PDT 2008


Dragisa Krsmanovic wrote:
>> [snip]
>>> +    private int calculateHashKey() {
>>> +      int hash = 0;
>>> +      if (this.journal != null) hash += this.journal.hashCode();
>>> +      if (this.startDate != null) hash += this.startDate.hashCode();
>>> +      if (this.endDate != null) hash += this.endDate.hashCode();
>>> +      if (this.category != null) hash += this.category.hashCode();
>>> +      if (this.author != null) hash += this.author.hashCode();
>> The bodies must be on a separate line.
>>
> 
> To me, with short statements like this, it's more readable when they are
> in the same line. But if consensus is to put them in new line I'll do
> that.
> 

+1






More information about the Ambra-dev mailing list