{"id":50563230,"url":"https://github.com/hoantran-it/utility-library","last_synced_at":"2026-06-04T12:33:21.366Z","repository":{"id":8894441,"uuid":"59395610","full_name":"hoantran-it/utility-library","owner":"hoantran-it","description":"Provide utility class for supporting software development with Java","archived":false,"fork":false,"pushed_at":"2022-05-20T20:47:20.000Z","size":103,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-14T22:56:16.141Z","etag":null,"topics":["comparison","date-time","datetime","gmt","java","json","sql","utc","validation"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hoantran-it.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-22T04:57:24.000Z","updated_at":"2023-10-22T13:49:48.000Z","dependencies_parsed_at":"2022-08-25T23:30:31.223Z","dependency_job_id":null,"html_url":"https://github.com/hoantran-it/utility-library","commit_stats":null,"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"purl":"pkg:github/hoantran-it/utility-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoantran-it%2Futility-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoantran-it%2Futility-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoantran-it%2Futility-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoantran-it%2Futility-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hoantran-it","download_url":"https://codeload.github.com/hoantran-it/utility-library/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoantran-it%2Futility-library/sbom","scorecard":{"id":467128,"data":{"date":"2025-08-11","repo":{"name":"github.com/hoantran-it/utility-library","commit":"a5ba04c6bb4b6c046085369a1eb84c6eb4b6c374"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.9,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-vmfg-rjjm-rjrj","Warn: Project is vulnerable to: GHSA-vmq6-5m68-f53m","Warn: Project is vulnerable to: GHSA-668q-qrv7-99fm","Warn: Project is vulnerable to: GHSA-6v67-2wr5-gvf4","Warn: Project is vulnerable to: GHSA-pr98-23f8-jwxv","Warn: Project is vulnerable to: GHSA-4jrv-ppp4-jm57","Warn: Project is vulnerable to: GHSA-78wr-2p64-hpwj","Warn: Project is vulnerable to: GHSA-gwrp-pvrq-jmwv","Warn: Project is vulnerable to: GHSA-j288-q9x7-2f5v"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T12:50:07.641Z","repository_id":8894441,"created_at":"2025-08-19T12:50:07.642Z","updated_at":"2025-08-19T12:50:07.642Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33905359,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["comparison","date-time","datetime","gmt","java","json","sql","utc","validation"],"created_at":"2026-06-04T12:33:20.610Z","updated_at":"2026-06-04T12:33:21.358Z","avatar_url":"https://github.com/hoantran-it.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Utility library\n\nUtility library for Java application\n\n## Getting Started\n\nFork source code to get more detail or just adding maven dependency for usage.\n\n### Installing\n\nAdd below dependency to your maven project\n\n```\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.hoantran-it.library\u003c/groupId\u003e\n    \u003cartifactId\u003eutility-library\u003c/artifactId\u003e\n    \u003cversion\u003e1.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### Sample use caces\n\nCall api to sort a list object base on property field\n\n```\nimport com.github.hoantran.lib.utility.comparison.CustomComparator;\nimport com.github.hoantran.lib.utility.sampledata.Developer;\nimport com.github.hoantran.lib.utility.sampledata.SampleDataCreation;\n```\n\n```\nList\u003cDeveloper\u003e devList = SampleDataCreation.createDeveloperList();\nObject[] propertyId = new Object[] { \"name\", \"experienceYears\" };\nboolean[] ascending = new boolean[] { false, false };\nCollections.sort(devList, new CustomComparator(propertyId, ascending));\n```\n\n## Built With\n\n* [Maven](https://maven.apache.org/) - Dependency Management\n\n## Versioning\n\nFor the versions available, see the [maven repository](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22utility-library%22) or [github release](https://github.com/hoantran-it/utility-library/releases)\n\n## Authors\n\n* **Hoan Tran** - *Initial work* - [hoantran-it](https://github.com/hoantran-it)\n\nSee also the list of [contributors](https://github.com/hoantran-it/utility-library/graphs/contributors) who participated in this project.\n\n## License\n\nThis project is licensed under the Apache License - see the [LICENSE.md](LICENSE.md) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoantran-it%2Futility-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoantran-it%2Futility-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoantran-it%2Futility-library/lists"}