summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Sawicki2011-08-24 12:44:55 (EDT)
committer Steffen Pingel2011-08-24 12:45:11 (EDT)
commit9817c82c2c711ed52f4796423220e01567214f57 (patch)
tree9f9a8d170d373aa385055bbce2f2f0792138cc2f
parent3af21bbd7d8308ae0ddd2bf4be4e85f29929d825 (diff)
downloadorg.eclipse.mylyn.reviews-9817c82c2c711ed52f4796423220e01567214f57.zip
org.eclipse.mylyn.reviews-9817c82c2c711ed52f4796423220e01567214f57.tar.gz
org.eclipse.mylyn.reviews-9817c82c2c711ed52f4796423220e01567214f57.tar.bz2
bug 355557: [patch] gerrit description field should be read-only
-rw-r--r--gerrit/org.eclipse.mylyn.gerrit.core/src/org/eclipse/mylyn/internal/gerrit/core/GerritTaskSchema.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/gerrit/org.eclipse.mylyn.gerrit.core/src/org/eclipse/mylyn/internal/gerrit/core/GerritTaskSchema.java b/gerrit/org.eclipse.mylyn.gerrit.core/src/org/eclipse/mylyn/internal/gerrit/core/GerritTaskSchema.java
index 483a738..98bfa1b 100644
--- a/gerrit/org.eclipse.mylyn.gerrit.core/src/org/eclipse/mylyn/internal/gerrit/core/GerritTaskSchema.java
+++ b/gerrit/org.eclipse.mylyn.gerrit.core/src/org/eclipse/mylyn/internal/gerrit/core/GerritTaskSchema.java
@@ -7,6 +7,7 @@
*
* Contributors:
* Tasktop Technologies - initial API and implementation
+ * GitHub Inc. - fix for bug 355557
*******************************************************************************/
package org.eclipse.mylyn.internal.gerrit.core;
@@ -53,7 +54,7 @@ public class GerritTaskSchema extends AbstractTaskSchema {
public final Field URL = inheritFrom(parent.TASK_URL).create();
- public final Field DESCRIPTION = inheritFrom(parent.DESCRIPTION).create();
+ public final Field DESCRIPTION = inheritFrom(parent.DESCRIPTION).addFlags(Flag.READ_ONLY).create();
public final Field OBJ_REVIEW = createField("org.eclipse.gerrit.Review", "Review", TaskAttribute.TYPE_LONG_TEXT);