Browse Source

Minor javadoc.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277388 13f79535-47bb-0310-9956-ffa450edef68
master
Matthew Jason Benson 20 years ago
parent
commit
d88994e4ef
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      src/main/org/apache/tools/ant/util/LazyFileOutputStream.java

+ 4
- 2
src/main/org/apache/tools/ant/util/LazyFileOutputStream.java View File

@@ -1,5 +1,5 @@
/*
* Copyright 2003-2004 The Apache Software Foundation
* Copyright 2003-2005 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -103,18 +103,20 @@ public class LazyFileOutputStream extends OutputStream {
}

/**
* Delegates to the three arg version.
* Delegates to the three-arg version.
*/
public void write(byte[] b) throws IOException {
write(b, 0, b.length);
}

//inherit doc
public synchronized void write(byte[] b, int offset, int len)
throws IOException {
ensureOpened();
fos.write(b, offset, len);
}

//inherit doc
public synchronized void write(int b) throws IOException {
ensureOpened();
fos.write(b);


Loading…
Cancel
Save