File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 182182 <module name =" CommentsIndentation" >
183183 <property name =" tokens" value =" BLOCK_COMMENT_BEGIN" />
184184 </module >
185+ <module name =" HexLiteralCase" />
185186 <module name =" Indentation" >
186187 <property name =" arrayInitIndent" value =" 4" />
187188 <property name =" basicOffset" value =" 4" />
Original file line number Diff line number Diff line change 11/*
2- Copyright (c) 2017-2024 Stephen Gold
2+ Copyright (c) 2017-2025 Stephen Gold
33 All rights reserved.
44
55 Redistribution and use in source and binary forms, with or without
@@ -1146,7 +1146,7 @@ public static BufferedImage render(
11461146 for (int x = 0 ; x < width ; ++x ) {
11471147 for (int byteI = 0 ; byteI < bytesPerPixel ; ++byteI ) {
11481148 int pixelByte = byteBuffer .get (byteOffset );
1149- pixelBytes [byteI ] = 0xff & pixelByte ;
1149+ pixelBytes [byteI ] = 0xFF & pixelByte ;
11501150 ++byteOffset ;
11511151 }
11521152 Color color = pixelColor (format , pixelBytes );
Original file line number Diff line number Diff line change 11/*
2- Copyright (c) 2021-2023, Stephen Gold
2+ Copyright (c) 2021-2025 Stephen Gold
33 All rights reserved.
44
55 Redistribution and use in source and binary forms, with or without
@@ -233,7 +233,7 @@ public String toString() {
233233 */
234234 private String describe () {
235235 String name = geometry .getName ();
236- int hash = geometry .getMaterial ().hashCode () & 0xffff ;
236+ int hash = geometry .getMaterial ().hashCode () & 0xFFFF ;
237237 String description = String .format ("%s (mat=%04x)" , name , hash );
238238
239239 assert description != null ;
You can’t perform that action at this time.
0 commit comments