Skip to content

Commit

Permalink
Added Integer, Long, Float to cross product (everything) conversion t…
Browse files Browse the repository at this point in the history
…est.
  • Loading branch information
jdereg committed Feb 12, 2024
1 parent f589fe3 commit eb67242
Show file tree
Hide file tree
Showing 3 changed files with 569 additions and 23 deletions.
2 changes: 0 additions & 2 deletions src/main/java/com/cedarsoftware/util/convert/Converter.java
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,6 @@ private static void buildFactoryConversions() {
CONVERSION_DB.put(pair(Double.class, Float.class), NumberConversions::toFloat);
CONVERSION_DB.put(pair(Boolean.class, Float.class), BooleanConversions::toFloat);
CONVERSION_DB.put(pair(Character.class, Float.class), CharacterConversions::toFloat);
CONVERSION_DB.put(pair(Instant.class, Float.class), InstantConversions::toFloat);
CONVERSION_DB.put(pair(LocalDate.class, Float.class), LocalDateConversions::toFloat);
CONVERSION_DB.put(pair(AtomicBoolean.class, Float.class), AtomicBooleanConversions::toFloat);
CONVERSION_DB.put(pair(AtomicInteger.class, Float.class), NumberConversions::toFloat);
CONVERSION_DB.put(pair(AtomicLong.class, Float.class), NumberConversions::toFloat);
Expand Down
Loading

0 comments on commit eb67242

Please sign in to comment.