• non-javadoc (unregistered)

    public class FristDescriptor extends XMLEntity { public static final String frist = "snecond";

    /**
     * Gets the.
     */
    private static String getFrist() {
        return frist;
    }
    

    }

  • Álvaro González (github)

    What's the deal with (non-Javadoc)?

  • ExceptionHandler (unregistered)

    This might not be fully anonymized. There are 2 telling evidences and a quick search on the internet shows a match.

  • Duke of New York (unregistered)

    Should have been called the Highlander pattern imo.

  • ExceptionHandler (unregistered) in reply to Duke of New York

    Hahaha that’s fantastic

  • (nodebb) in reply to Álvaro González

    My guess is that they added that note because the comment there begins with /* instead of /**, so it's not parsed as Javadoc by the Javadoc tooling. But as for why they did that, ¯_(ツ)_/¯

  • SingleBecauseTon (unregistered)

    Someone never heard of static initializers.

  • (nodebb)

    Java has a much cleaner way to execute a block of code that initializes static data: a static initializer block. The ugly private singleton is unnecessary.

    Addendum 2025-07-15 12:51: Also, TRWTF is that failing to parse the XML from the classpath resource just logs the exception and merrily carries on. So if the classpath resource is missing or corrupted, the map will not be populated and this will be discovered much later at runtime, rather than at startup time. It's better for a faulty application to fail at startup than to start but work incorrectly.

  • (nodebb) in reply to Álvaro González

    What's the deal with (non-Javadoc)?

    It's a comment generated by an IDE. It's not a documentation comment, so it won't get included in generated documentation, but it includes a link to the superclass declaration of the method, which is then displayed (I think) in the popup you get by hovering over the method in the IDE. It's for easy navigation from the subclass to the superclass.

  • Rob (unregistered)

    This class is a real WTF. Both BatchManager and BatchDescriptor extend XMLEntity which apparently makes them implement org.xml.sax.ContentHandler indirectly, because the singleton BatchManager instance is used as one in the constructor. For the BatchManager that's probably not that bad because there's no possibility to get an instance (other than using reflection), but BatchDescriptor instances are exposed to the outside world. That means they can be used has ContentHandler for any random XML document. That in turns allows anyone to update their internals, because that's what the content-handling part does.

    A properly written class would have created (package) private ContentHandler implementations instead so the parsing logic doesn't escape the class.

  • Officer Johnny Holzkopf (unregistered)

    The JavaDoc comment "Gets the." gets the.

  • Buy counterfeit Money, Buy Passport, ID card, fake Euro, Buy fake USD. WhatZap 014137589837 DVLA-DMV Driver's License online. Buy fake GBP, Buy fake Russian Ruble, false dirham, Buy real and fake Passport (unregistered)

    Buy counterfeit Money, Buy Passport, ID card, fake Euro, Buy fake USD. WhatZap 014137589837 DVLA-DMV Driver's License online. Buy fake GBP, Buy fake Russian Ruble, false dirham, Buy real and fake Passports.

    Buy fake ID cards, online Schengen Visa,  buy Resident Permit, buy fake Diplomas. Buy online IELTS certificate, buy fake Graduation certificates, University degree for sale online all legit to use. At https://legitexpressdocuments.com

    Best Counterfeit Bills for Sale - text/WhatsApp: +1(413)758-9837 Buy fake USD, buy fake CAD, buy fake Euro, buy fake GBP. buy fake counterfeit money Buy fake passport, drivers license, schengen visa, buy fake certificates and diplomas, buy fake ID card at https://counterfeitcurrencyqueries.com

    Are you looking to buy a passport of any other country without citizenship? or Wanna buy a registered driving license with DVLA, DMV online without taking a test? Legit Express Documents online. https://legitexpressdocuments.com

    Buy undetectable counterfeit money, Whatsapp +14137589837 Buy real and fake Passports. Buy real and fake Passport / Buy real and fake Driver's License online.

    Buy fake USD, fake GBP, fake Euros, Buy fake Russian Ruble, false dirham AED, Buy Driver's License online. Buy fake ID cards, online Schengen Visa,  buy Resident Permit, buy fake Diplomas. Buy online IELTS certificate, buy fake Graduation certificates, University degree for sale online all legit to use. At https://legitexpressdocuments.com

    Best Counterfeit Bills for Sale - text/WhatsApp: +1(413)758-9837 Buy fake USD, buy fake CAD, buy fake Euro, buy fake GBP. buy fake counterfeit money Buy fake passport, drivers license, schengen visa, buy fake certificates and diplomas, buy fake ID card at https://counterfeitcurrencyqueries.com

    Are you looking to buy a passport of any other country without citizenship? or Wanna buy a registered driving license with DVLA, DMV online without taking a test? Legit Express Documents online. https://legitexpressdocuments.com hhhh

Leave a comment on “Born Single”

Log In or post as a guest

Replying to comment #:

« Return to Article