Package com.custardsource.dybdob

Examples of com.custardsource.dybdob.WarningSource


    public final Collection<WarningRecord> getRecords(final ProjectVersion version, File log) {
        Map<String, Integer> results = getResultsFrom(log);
        return Collections2.transform(results.entrySet(), new Function<Map.Entry<String, Integer>, WarningRecord>(){
            @Override
            public WarningRecord apply(Map.Entry<String, Integer> from) {
                return WarningRecord.newRecord(version, new WarningSource(id, from.getKey()), from.getValue());
            }
        });
    }
View Full Code Here


        Map<String, Integer> results = getResultsFrom(log);
        final String rawOutput = readOutputFrom(log);
        return Collections2.transform(results.entrySet(), new Function<Map.Entry<String, Integer>, WarningRecord>(){
            @Override
            public WarningRecord apply(Map.Entry<String, Integer> from) {
                return WarningRecord.newRecord(version, new WarningSource(id, from.getKey()), from.getValue(), rawOutput,
                        baseDir);
            }
        });
    }
View Full Code Here

TOP

Related Classes of com.custardsource.dybdob.WarningSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.