• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
10 package org.tukaani.xz.check;
11 
12 public class None extends Check {
None()13     public None() {
14         size = 0;
15         name = "None";
16     }
17 
update(byte[] buf, int off, int len)18     public void update(byte[] buf, int off, int len) {}
19 
finish()20     public byte[] finish() {
21         byte[] empty = new byte[0];
22         return empty;
23     }
24 }
25