diff options
Diffstat (limited to 'org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracWikiPage.java')
-rw-r--r-- | org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracWikiPage.java | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracWikiPage.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracWikiPage.java deleted file mode 100644 index 922f80d5c..000000000 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/model/TracWikiPage.java +++ /dev/null @@ -1,67 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006, 2008 Steffen Pingel and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Xiaoyang Guan - initial API and implementation - *******************************************************************************/ - -package org.eclipse.mylyn.internal.trac.core.model; - -/** - * Represents a Trac Wiki page at a specific version. - * - * @author Xiaoyang Guan - */ -public class TracWikiPage { - - private TracWikiPageInfo pageInfo; - - private String content; - - private String pageHTML; - - public TracWikiPage() { - } - - public TracWikiPageInfo getPageInfo() { - return pageInfo; - } - - public void setPageInfo(TracWikiPageInfo pageInfo) { - this.pageInfo = pageInfo; - } - - public String getContent() { - return content; - } - - public void setContent(String content) { - this.content = content; - } - - public String getPageHTML() { - return pageHTML; - } - - public void setPageHTML(String pageHTML) { - this.pageHTML = pageHTML; - } - - @Override - public boolean equals(Object obj) { - if (obj == null) { - return false; - } else if (this == obj) { - return true; - } else if (getClass() != obj.getClass()) { - return false; - } else { - TracWikiPage other = (TracWikiPage) obj; - return content.equals(other.content) && pageInfo.toString().equals(other.pageInfo.toString()); - } - } -} |