Project

General

Profile

« Previous | Next » 

Revision 6986

Added by Matt Jones over 12 years ago

Clean up warnings in class.

View differences:

src/edu/ucsb/nceas/metacat/dataone/MNodeService.java
53 53
import org.dataone.service.exceptions.ServiceFailure;
54 54
import org.dataone.service.exceptions.SynchronizationFailed;
55 55
import org.dataone.service.exceptions.UnsupportedType;
56
import org.dataone.service.exceptions.VersionMismatch;
57 56
import org.dataone.service.mn.tier1.v1.MNCore;
58 57
import org.dataone.service.mn.tier1.v1.MNRead;
59 58
import org.dataone.service.mn.tier2.v1.MNAuthorization;
......
1045 1044
        // if the person is authorized, perform the read
1046 1045
        if (allowed) {
1047 1046
            try {
1048
                inputStream = handler.read(localId);
1047
                inputStream = MetacatHandler.read(localId);
1049 1048
            } catch (Exception e) {
1050 1049
                throw new ServiceFailure("1020", "The object specified by " + 
1051 1050
                    pid.getValue() + "could not be returned due to error: " + e.getMessage());

Also available in: Unified diff