Да зраствует гластность и свобода публикации.

    Date: 04/18/07 (Code WTF)    Keywords: no keywords

    Похоже ктото хотел написать сингтон ...

    public class PhotoComment extends GeoUnitComment {
     public static String tableName = "user_comment4photo";
     
     public static final ObjectComment instance = new PhotoComment();
     
     public String getTableName() {
      return PhotoComment.tableName;
     }
     
     public String getObjectTableName() {
      return Photo.tableName;
     }

     public PhotoComment() {}
    ...
    }

    Source: http://community.livejournal.com/code_wtf/80972.html

« хтмэ-эльный... || индусы, ля »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home