Example usage for com.google.gwt.core.ext.linker SyntheticArtifact getLastModified

List of usage examples for com.google.gwt.core.ext.linker SyntheticArtifact getLastModified

Introduction

In this page you can find the example usage for com.google.gwt.core.ext.linker SyntheticArtifact getLastModified.

Prototype

@Override
    public long getLastModified() 

Source Link

Usage

From source file:net.randomhacks.wave.voting.approval.ApprovalVotingLinker.java

License:Apache License

private void renameSyntheticArtifact(TreeLogger logger, ArtifactSet result, SyntheticArtifact gadgetXml,
        String partialPath) throws UnableToCompleteException {
    result.remove(gadgetXml);//w ww .ja v a  2 s. c  om
    result.add(
            emitInputStream(logger, gadgetXml.getContents(logger), partialPath, gadgetXml.getLastModified()));
}