Giter VIP home page Giter VIP logo

jaclp's People

Contributors

neloop avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jaclp's Issues

Request for a working example

Hi @Neloop,

It would be a great help if you could provide a working example using your library for ABAC so that we can have a clear understanding of it.

Could you please do that?

Thanks,
Thai

Generic wildcard types should not be used in return parameters

    src/main/java/cz/polankam/security/acl/IPermissionsService.java
    /**
     * For the given textual representation of resource return its resource
     * repository.
     * Should throw in case of not defined resource.
     * @param resource textual resource representation
     * @return repository from which resource object can be acquired
     */
    IResourceRepository<?, ?> getResource(String resource);

SonarLint recomment that should not used Generic wildcard types in return parameters. In Effective Java Item 28 also comment that If the user of a class has to think about wildcard types, there is probably something wrong with the class’s API. So do we have any alternative solution to fit clean code recommendation?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.