Thanks for your careful review, I've correct the code style mistakes.
Please see here https://github.com/amplab/tachyon/pull/42/files.


2013/8/1 Haoyuan Li <notifications@github.com>

> In src/test/java/tachyon/command/TFsShellTest.java:
>
> > +
> > +  @Test
> > +  public void fileinfoTest() throws IOException {
> > +    int fileId = TestUtils.createByteFile(mTfs, "/testFile", WriteType.CACHE, 10);
> > +    mFsShell.fileinfo(new String[]{"fileinfo", "/testFile"});
> > +    TachyonFile tFile = mTfs.getFile("/testFile");
> > +    Assert.assertNotNull(tFile);
> > +    List<ClientBlockInfo> blocks = mTfs.getFileBlocks(fileId);
> > +    String[] commandParameters = new String[3+blocks.size()];
> > +    commandParameters[0] = "fileinfo";
> > +    commandParameters[1] = "/testFile";
> > +    commandParameters[2] = String.valueOf(fileId);
> > +    Iterator<ClientBlockInfo> iter = blocks.iterator();
> > +    int i = 3;
> > +    while (iter.hasNext()) {
> > +      commandParameters[i++] = iter.next().toString();
>
> i ++
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/amplab/tachyon/pull/42/files#r5508211>
> .
>