GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — AbstractObjectBoxTest: make flex map null by default (for test perfor… · hehuelet/objectbox-java@342b96a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tests/objectbox-java-test/src/test/java/io/objectbox
    • AbstractObjectBoxTest.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tests/objectbox-java-test/src/test/java/io/objectbox/AbstractObjectBoxTest.java‎

Copy file name to clipboardExpand all lines: tests/objectbox-java-test/src/test/java/io/objectbox/AbstractObjectBoxTest.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,11 +296,11 @@ protected TestEntity createTestEntity(@Nullable String simpleString, int nr) {
296296
entity.setSimpleShortU((short) (100 + nr));
297297
entity.setSimpleIntU(nr);
298298
entity.setSimpleLongU(1000 + nr);
299-
Map<String, Object> stringObjectMap = new HashMap<>();
300299
if (simpleString != null) {
300+
Map<String, Object> stringObjectMap = new HashMap<>();
301301
stringObjectMap.put(simpleString, simpleString);
302+
entity.setStringObjectMap(stringObjectMap);
302303
}
303-
entity.setStringObjectMap(stringObjectMap);
304304
return entity;
305305
}
306306

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.