Revision: 5850 http://jnode.svn.sourceforge.net/jnode/?rev=5850&view=rev Author: lsantha Date: 2011-08-16 21:16:00 +0000 (Tue, 16 Aug 2011)
Log Message: ----------- Checkstyle fixes. Modified Paths: -------------- trunk/cli/src/commands/org/jnode/command/system/ThreadCommand.java trunk/fs/src/driver/org/jnode/driver/block/ide/disk/IDEDiskDriver.java trunk/fs/src/fs/org/jnode/fs/hfsplus/HfsPlusDirectory.java trunk/fs/src/fs/org/jnode/fs/hfsplus/HfsPlusEntry.java trunk/fs/src/fs/org/jnode/fs/hfsplus/HfsPlusFile.java Modified: trunk/cli/src/commands/org/jnode/command/system/ThreadCommand.java =================================================================== --- trunk/cli/src/commands/org/jnode/command/system/ThreadCommand.java 2011-08-16 20:52:13 UTC (rev 5849) +++ trunk/cli/src/commands/org/jnode/command/system/ThreadCommand.java 2011-08-16 21:16:00 UTC (rev 5850) @@ -88,7 +88,7 @@ // standard API. grp.list(); } else { - if(!argVerbose.isSet() && !argName.isSet()) { + if (!argVerbose.isSet() && !argName.isSet()) { showDefaultInfo(grp); } else { // Show the threads in the ThreadGroup tree. @@ -107,7 +107,7 @@ findThreads(grp, threadSet); PrintWriter out = getOutput().getPrintWriter(); - for(final Thread thread : threadSet) { + for (final Thread thread : threadSet) { VmThread vmThread = AccessController.doPrivileged(new PrivilegedAction<VmThread>() { public VmThread run() { return ThreadHelper.getVmThread(thread); Modified: trunk/fs/src/driver/org/jnode/driver/block/ide/disk/IDEDiskDriver.java =================================================================== --- trunk/fs/src/driver/org/jnode/driver/block/ide/disk/IDEDiskDriver.java 2011-08-16 20:52:13 UTC (rev 5849) +++ trunk/fs/src/driver/org/jnode/driver/block/ide/disk/IDEDiskDriver.java 2011-08-16 21:16:00 UTC (rev 5850) @@ -40,8 +40,6 @@ import org.jnode.driver.DriverException; import org.jnode.driver.block.BlockDeviceAPI; import org.jnode.driver.block.BlockDeviceAPIHelper; -import org.jnode.driver.block.PartitionableBlockAlignmentSupport; -import org.jnode.driver.block.PartitionableBlockDeviceAPI; import org.jnode.driver.bus.ide.IDEBus; import org.jnode.driver.bus.ide.IDEConstants; import org.jnode.driver.bus.ide.IDEDevice; Modified: trunk/fs/src/fs/org/jnode/fs/hfsplus/HfsPlusDirectory.java =================================================================== --- trunk/fs/src/fs/org/jnode/fs/hfsplus/HfsPlusDirectory.java 2011-08-16 20:52:13 UTC (rev 5849) +++ trunk/fs/src/fs/org/jnode/fs/hfsplus/HfsPlusDirectory.java 2011-08-16 21:16:00 UTC (rev 5850) @@ -229,7 +229,7 @@ if (getFileSystem().isReadOnly()) { throw new ReadOnlyFileSystemException(); } - Catalog catalog = ((HfsPlusFileSystem)getFileSystem()).getCatalog(); + Catalog catalog = ((HfsPlusFileSystem) getFileSystem()).getCatalog(); SuperBlock volumeHeader = ((HfsPlusFileSystem) getFileSystem()).getVolumeHeader(); LeafRecord folderRecord = catalog.createNode(name, this.folder.getFolderId(), @@ -237,7 +237,7 @@ CatalogFolder.RECORD_TYPE_FOLDER_THREAD); folder.setValence(folder.getValence() + 1); - HfsPlusEntry newEntry = new HfsPlusEntry((HfsPlusFileSystem)getFileSystem(), this, name, folderRecord); + HfsPlusEntry newEntry = new HfsPlusEntry((HfsPlusFileSystem) getFileSystem(), this, name, folderRecord); newEntry.setDirty(); volumeHeader.setFolderCount(volumeHeader.getFolderCount() + 1); log.debug("New volume header :\n" + volumeHeader.toString()); Modified: trunk/fs/src/fs/org/jnode/fs/hfsplus/HfsPlusEntry.java =================================================================== --- trunk/fs/src/fs/org/jnode/fs/hfsplus/HfsPlusEntry.java 2011-08-16 20:52:13 UTC (rev 5849) +++ trunk/fs/src/fs/org/jnode/fs/hfsplus/HfsPlusEntry.java 2011-08-16 21:16:00 UTC (rev 5850) @@ -26,7 +26,6 @@ import org.jnode.fs.FSDirectory; import org.jnode.fs.FSEntry; import org.jnode.fs.FSFile; -import org.jnode.fs.FSObject; import org.jnode.fs.FileSystem; import org.jnode.fs.hfsplus.catalog.CatalogFile; import org.jnode.fs.hfsplus.catalog.CatalogFolder; @@ -165,7 +164,7 @@ return valid; } - public byte[] getData(){ + public byte[] getData() { return this.record.getData(); } Modified: trunk/fs/src/fs/org/jnode/fs/hfsplus/HfsPlusFile.java =================================================================== --- trunk/fs/src/fs/org/jnode/fs/hfsplus/HfsPlusFile.java 2011-08-16 20:52:13 UTC (rev 5849) +++ trunk/fs/src/fs/org/jnode/fs/hfsplus/HfsPlusFile.java 2011-08-16 21:16:00 UTC (rev 5850) @@ -27,7 +27,6 @@ import org.jnode.fs.FileSystem; import org.jnode.fs.hfsplus.catalog.CatalogFile; import org.jnode.fs.hfsplus.extent.ExtentDescriptor; -import org.jnode.fs.hfsplus.tree.LeafRecord; public class HfsPlusFile implements FSFile { @@ -74,7 +73,7 @@ @Override public boolean isValid() { - return entry.isValid(); + return entry.isValid(); } @Override This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Jnode-svn-commits mailing list Jnode-svn-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jnode-svn-commits