1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 09:46:02 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2014-05-09 12:17:10 -07:00
parent ca4098caac
commit 2c5f599327
3 changed files with 17 additions and 17 deletions

View file

@ -24,7 +24,7 @@ import org.eclipse.cdt.internal.core.pdom.db.Database;
import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.CoreException;
/** /**
* Sanity check the DBProperties class * Tests for the {@link DBProperties} class.
*/ */
public class DBPropertiesTests extends BaseTestCase { public class DBPropertiesTests extends BaseTestCase {
File dbLoc; File dbLoc;

View file

@ -130,7 +130,7 @@ final class Chunk {
* have an unsigned 32-bit value as a long. This gives us one more useful bit in the * have an unsigned 32-bit value as a long. This gives us one more useful bit in the
* stored record pointers. * stored record pointers.
*/ */
long address = value & (((long) 1 << Integer.SIZE) - 1); long address = value & 0xFFFFFFFFL;
return address << Database.BLOCK_SIZE_DELTA_BITS; return address << Database.BLOCK_SIZE_DELTA_BITS;
} }