source: josm/trunk/src/org/tukaani/xz/check/None.java@ 15731

Last change on this file since 15731 was 13350, checked in by stoecker, 7 years ago

see #15816 - add XZ support

File size: 456 bytes
Line 
1/*
2 * None
3 *
4 * Author: Lasse Collin <lasse.collin@tukaani.org>
5 *
6 * This file has been put into the public domain.
7 * You can do whatever you want with this file.
8 */
9
10package org.tukaani.xz.check;
11
12public class None extends Check {
13 public None() {
14 size = 0;
15 name = "None";
16 }
17
18 public void update(byte[] buf, int off, int len) {}
19
20 public byte[] finish() {
21 byte[] empty = new byte[0];
22 return empty;
23 }
24}
Note: See TracBrowser for help on using the repository browser.