Commit Graph

35 Commits

Author SHA1 Message Date
@hangga 7bc08e8e74 [Update] remove hashCode, add nano & secure 2023-11-19 13:43:34 +07:00
Hangga Aji Sayekti 10b8f0370c Merge pull request #4 from hangga/time-field
simplify unit tests
2023-11-18 14:22:52 +07:00
@hangga 213fb362a0 simplyfiying test 2023-11-18 14:17:19 +07:00
@hangga 0c8b5bd210 retry with colision 2023-11-18 06:09:14 +07:00
@hangga 32940c41e4 update time test 2023-11-04 15:28:49 +07:00
Hangga Aji Sayekti b7bc968da2 Update core-java-modules/core-java-uuid/src/main/java/com/baeldung/uuid/UUIDPositiveLongGenerator.java
Oh yeah..

Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-03 17:13:48 +07:00
@hangga 899700f27e [Update] add time field 2023-11-03 15:45:12 +07:00
@hangga 39bc0b9eaa logback 2023-11-02 21:08:06 +07:00
Hangga Aji Sayekti 18220b12af Update core-java-modules/core-java-uuid/src/test/resources/logback.xml
Ok..

Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-02 21:05:07 +07:00
@hangga 7cc4de47ef remove some space 2023-11-02 16:55:49 +07:00
@hangga 0f222559dc simplyfying log 2023-11-02 14:16:43 +07:00
@hangga 69d17b634d N to NUMBER_OF_CHECKS 2023-11-02 11:25:19 +07:00
@hangga 8f1a091a43 update : add space after () 2023-11-02 09:42:31 +07:00
Hangga Aji Sayekti a5d0a15419 Update core-java-modules/core-java-uuid/src/test/java/com/baeldung/uuid/UUIDPositiveLongGeneratorUnitTest.java
Simplify the throws clause

Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-02 09:40:20 +07:00
Hangga Aji Sayekti f25f06795b Update core-java-modules/core-java-uuid/src/test/java/com/baeldung/uuid/UUIDPositiveLongGeneratorUnitTest.java
Simplify the throws clause

Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-02 09:40:04 +07:00
Hangga Aji Sayekti 9fe75192ec Update core-java-modules/core-java-uuid/src/test/java/com/baeldung/uuid/UUIDPositiveLongGeneratorUnitTest.java
assert that the value is positive

Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-02 09:39:43 +07:00
Hangga Aji Sayekti b946f580f4 Update core-java-modules/core-java-uuid/src/main/java/com/baeldung/uuid/UUIDPositiveLongGenerator.java
Minor style issue: put a space between () and { in each of these methods

Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-02 09:39:17 +07:00
@hangga 039753af1f back to 16 2023-11-01 18:26:54 +07:00
@hangga 3286aab10c bit 16 to 64 2023-11-01 18:24:02 +07:00
@hangga e0ca0be76a positive 2023-11-01 16:27:09 +07:00
@hangga 10ddc97854 update 2023-11-01 12:44:04 +07:00
@hangga 579f35981e update, rename class 2023-11-01 11:01:27 +07:00
@hangga da886b27b3 [Update] resolve after review 2023-11-01 10:52:35 +07:00
@hangga b55db89b5f update 2023-11-01 10:37:14 +07:00
Hangga Aji Sayekti 0165793370 Update core-java-modules/core-java-uuid/src/test/java/com/baeldung/uuid/UUIDLongGeneratorUnitTest.java
IntStream to loop

Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-01 10:36:43 +07:00
@hangga ece5cdeb6e add unit test 2023-10-31 18:17:54 +07:00
@hangga a567d31871 add some methods 2023-10-31 18:15:47 +07:00
Alexandru Borza 67d6b1533b Generating Time Based UUIDs (#13668)
* time-based UUIDs

* review

* review
2023-04-11 19:21:36 +01:00
Kai Yuan 4027e83023 [str-to-uuid] uuid from string (#13736)
* [str-to-uuid] uuid from string

* [str-to-uuid] rename test methods
2023-04-01 10:06:23 -05:00
jsgrah-spring c217f7e95c JAVA-15621, Potential issue in "Guide to UUID in Java" article. (#13271)
* JAVA-15621, Potential issue in "Guide to UUID in Java" article.

* JAVA-15621, Keep the raw strings in the article to make it easy for users to understand.

* JAVA-15621, Keep the raw strings in the article to make it easy for users to understand.

Co-authored-by: jogra <joseph.sterling.grah@miles.no>
2023-01-16 23:07:14 +05:30
Harry9656 21c735364e [JAVA-4543]: Improve Guide to UUID in Java (#12962)
Co-authored-by: Harpal Singh <harpal.singh@kaleyra.com>
2022-11-23 17:32:29 +00:00
AndreiMandris d5ad2e0ed8 BAEL-5692 Validate UUID String in Java (#12635)
* BAEL-5692 Validate UUID String in Java

* cleaned up the Main method

* added unit test for uuid validation

* renamed unit test method name

* formatted unit test

* removed unneeded file

* replaced gradle by maven

* removed gradle project

* moved project

* added readme file

* segregated unit tests by validator type.

* inlined the validating logic inside the unit tests

* moved the UUIDValidatorTest.java to core-java-uuid module

* renamed test

Co-authored-by: andrei-mandris <andrei.mandris.ext@deliveryhero.com>
2022-09-23 09:44:52 -07:00
doljae c1cd68d30e code cleaning 2022-04-25 19:42:39 +09:00
doljae f5f4ea015e Remove unused imports 2022-04-22 15:52:16 +09:00
mikr 37eb10c68d JAVA-8279 Split or move core java module 2021-11-13 21:22:34 +01:00