|
@@ -92,10 +92,6 @@ public class TextFile {
|
92
|
92
|
* @since 0.6.3m1
|
93
|
93
|
*/
|
94
|
94
|
public TextFile(final File file, final Charset charset) {
|
95
|
|
- if (file == null) {
|
96
|
|
- throw new NullPointerException("file");
|
97
|
|
- }
|
98
|
|
-
|
99
|
95
|
this.file = file;
|
100
|
96
|
this.charset = charset;
|
101
|
97
|
}
|
|
@@ -109,10 +105,6 @@ public class TextFile {
|
109
|
105
|
* @since 0.6.3m1
|
110
|
106
|
*/
|
111
|
107
|
public TextFile(final InputStream is, final Charset charset) {
|
112
|
|
- if (is == null) {
|
113
|
|
- throw new NullPointerException("is");
|
114
|
|
- }
|
115
|
|
-
|
116
|
108
|
this.is = is;
|
117
|
109
|
this.charset = charset;
|
118
|
110
|
}
|