commonsrdf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ansell <>
Subject [GitHub] incubator-commonsrdf pull request #27: COMMONSRDF-47 RDFSyntax as an interfa...
Date Thu, 17 Nov 2016 22:55:05 GMT
Github user ansell commented on a diff in the pull request:
    --- Diff: api/src/main/java/org/apache/commons/rdf/api/ ---
    @@ -34,7 +152,7 @@
      *      1.1 Primer</a>
      * @see org.apache.commons.rdf.experimental.RDFParser
    -public enum RDFSyntax {
    +  public enum OfficialRDFSyntax implements RDFSyntax {
    --- End diff --
    There is no particular reason that "enum" needs to be used given the interface design
is done for flexibility, and given the difficulties with equals and hashCode. I would suggest
reimplementing the "values()" method, along with equals and hashCode, and changing this to
a "public final class".

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message