X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/CompilationUnitElementInfo.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/CompilationUnitElementInfo.java index a25c0e3..3ec282a 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/CompilationUnitElementInfo.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/CompilationUnitElementInfo.java @@ -12,35 +12,38 @@ package net.sourceforge.phpdt.internal.core; import net.sourceforge.phpdt.core.ISourceRange; - -/* package */ class CompilationUnitElementInfo extends OpenableElementInfo { +/* package */class CompilationUnitElementInfo extends OpenableElementInfo { /** * The length of this compilation unit's source code String */ protected int sourceLength; - - /** - * Timestamp of original resource at the time this element - * was opened or last updated. + + /** + * Timestamp of original resource at the time this element was opened or + * last updated. */ protected long timestamp; -/** - * Returns the length of the source string. - */ -public int getSourceLength() { - return sourceLength; -} -protected ISourceRange getSourceRange() { - return new SourceRange(0, sourceLength); -} -protected boolean isOpen() { - return true; -} -/** - * Sets the length of the source string. - */ -public void setSourceLength(int newSourceLength) { - sourceLength = newSourceLength; -} + + /** + * Returns the length of the source string. + */ + public int getSourceLength() { + return sourceLength; + } + + protected ISourceRange getSourceRange() { + return new SourceRange(0, sourceLength); + } + + protected boolean isOpen() { + return true; + } + + /** + * Sets the length of the source string. + */ + public void setSourceLength(int newSourceLength) { + sourceLength = newSourceLength; + } }