@Test public void buildInfoFromPath() throws Exception { assertUserGroupInfo(SimpleUserSystemServiceHelper.buildInfo(getTestFile(RESOURCES, USERS_FILE).toAbsolutePath(), getTestFile(RESOURCES, SKILLS_FILE).toAbsolutePath(), getTestFile(RESOURCES, AFFINITIES_FILE).toAbsolutePath())); }
public static UserGroupInfo buildInfo(Path users, Path skills, Path affinities) throws IOException { try (InputStream usersIn = Files.newInputStream(users); InputStream skillsIn = skills != null ? Files.newInputStream(skills) : null; InputStream affinitiesIn = affinities != null ? Files.newInputStream(affinities) : null) { return buildInfo(usersIn, skillsIn, affinitiesIn); } }
SimpleUserSystemServiceHelper { public static UserGroupInfo buildInfo(Path users, Path skills, Path affinities) throws IOException { try (InputStream usersIn = Files.newInputStream(users); InputStream skillsIn = skills != null ? Files.newInputStream(skills) : null; InputStream affinitiesIn = affinities != null ? Files.newInputStream(affinities) : null) { return buildInfo(usersIn, skillsIn, affinitiesIn); } } }
SimpleUserSystemServiceHelper { public static UserGroupInfo buildInfo(Path users, Path skills, Path affinities) throws IOException { try (InputStream usersIn = Files.newInputStream(users); InputStream skillsIn = skills != null ? Files.newInputStream(skills) : null; InputStream affinitiesIn = affinities != null ? Files.newInputStream(affinities) : null) { return buildInfo(usersIn, skillsIn, affinitiesIn); } } private  SimpleUserSystemServiceHelper(); }
SimpleUserSystemServiceHelper { public static UserGroupInfo buildInfo(Path users, Path skills, Path affinities) throws IOException { try (InputStream usersIn = Files.newInputStream(users); InputStream skillsIn = skills != null ? Files.newInputStream(skills) : null; InputStream affinitiesIn = affinities != null ? Files.newInputStream(affinities) : null) { return buildInfo(usersIn, skillsIn, affinitiesIn); } } private  SimpleUserSystemServiceHelper(); static UserGroupInfo buildInfo(Path users, Path skills, Path affinities); static UserGroupInfo buildInfo(InputStream usersIn, InputStream skillsIn, InputStream affinitiesIn); }
SimpleUserSystemServiceHelper { public static UserGroupInfo buildInfo(Path users, Path skills, Path affinities) throws IOException { try (InputStream usersIn = Files.newInputStream(users); InputStream skillsIn = skills != null ? Files.newInputStream(skills) : null; InputStream affinitiesIn = affinities != null ? Files.newInputStream(affinities) : null) { return buildInfo(usersIn, skillsIn, affinitiesIn); } } private  SimpleUserSystemServiceHelper(); static UserGroupInfo buildInfo(Path users, Path skills, Path affinities); static UserGroupInfo buildInfo(InputStream usersIn, InputStream skillsIn, InputStream affinitiesIn); static final String SKILLS_ATTRIBUTE_NAME; static final String AFFINITIES_ATTRIBUTE_NAME; }