| 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 |
|
|---|
| 10 | package org.tukaani.xz.check;
|
|---|
| 11 |
|
|---|
| 12 | public 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.