File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed
apps/src/main/java/com/github/stephengold/wrench/test
lib/src/main/java/com/github/stephengold/wrench Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 11/*
2- Copyright (c) 2023-2024 Stephen Gold
2+ Copyright (c) 2023-2025 Stephen Gold
33
44 Redistribution and use in source and binary forms, with or without
55 modification, are permitted provided that the following conditions are met:
@@ -162,9 +162,8 @@ class GltfSampleAssets implements AssetGroup {
162162 }
163163
164164 // Parse the JSON string into a collection:
165- TypeToken <Collection <SampleAsset >> assetCollection
166- = new TypeToken <Collection <SampleAsset >>() {
167- };
165+ TypeToken <Collection <SampleAsset >> assetCollection =
166+ new TypeToken <Collection <SampleAsset >>() {};
168167 this .assets = parser .fromJson (jsonString , assetCollection .getType ());
169168
170169 // Populate the array of asset names:
Original file line number Diff line number Diff line change 11/*
2- Copyright (c) 2023, Stephen Gold
2+ Copyright (c) 2023-2025 Stephen Gold
33
44 Redistribution and use in source and binary forms, with or without
55 modification, are permitted provided that the following conditions are met:
@@ -70,11 +70,11 @@ class AssetFile {
7070 */
7171 final private static ThreadLocal <byte []> readArrays
7272 = new ThreadLocal <byte []>() {
73- @ Override
74- protected byte [] initialValue () {
75- return new byte [readArrayNumBytes ];
76- }
77- };
73+ @ Override
74+ protected byte [] initialValue () {
75+ return new byte [readArrayNumBytes ];
76+ }
77+ };
7878 // *************************************************************************
7979 // constructors
8080
You can’t perform that action at this time.
0 commit comments