Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
fixed test data
Browse files Browse the repository at this point in the history
  • Loading branch information
kgorozhankin committed May 27, 2016
1 parent 327e3c2 commit 646cd7b
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import net.badata.protobuf.converter.domain.MappingDomain;
import net.badata.protobuf.converter.exception.MappingException;
import net.badata.protobuf.converter.exception.WriteException;
import net.badata.protobuf.converter.mapping.DefaultMapperImpl;
import net.badata.protobuf.converter.mapping.MappingResult;
import net.badata.protobuf.converter.proto.MappingProto;
Expand Down Expand Up @@ -120,8 +119,6 @@ private FieldResolver findDomainField(final String fieldName) {
return fieldResolverFactory.createResolver(MappingDomain.Test.class.getDeclaredField(fieldName));
} catch (NoSuchFieldException e) {
throw new IllegalArgumentException("No such field: " + fieldName, e);
} catch (WriteException e) {
throw new IllegalArgumentException("Can't create resolver: " + fieldName, e);
}
}

Expand Down Expand Up @@ -229,8 +226,6 @@ private FieldResolver findPrimitiveField(final String fieldName) {
return fieldResolverFactory.createResolver(MappingDomain.PrimitiveTest.class.getDeclaredField(fieldName));
} catch (NoSuchFieldException e) {
throw new IllegalArgumentException("No such field: " + fieldName, e);
} catch (WriteException e) {
throw new IllegalArgumentException("Can't create resolver: " + fieldName, e);
}
}

Expand All @@ -248,8 +243,6 @@ private FieldResolver findInaccessibleField(final String fieldName) {
(fieldName));
} catch (NoSuchFieldException e) {
throw new IllegalArgumentException("No such field: " + fieldName, e);
} catch (WriteException e) {
throw new IllegalArgumentException("Can't create resolver: " + fieldName, e);
}
}

Expand Down

0 comments on commit 646cd7b

Please sign in to comment.