commit | 7ccbf75a2acee9cc9ed62bd1c88e1e012552768e | [log] [tgz] |
---|---|---|
author | vlad <vlad> | Wed Jun 19 11:30:43 2002 +0000 |
committer | vlad <vlad> | Wed Jun 19 11:30:43 2002 +0000 |
tree | 965d9834dd627f9103e94db4c2ac604c8fdb46b8 | |
parent | 5ae944e6aed2905067278fe6f5e2b3781b962db6 [diff] |
change to 20154 fix
diff --git a/update/org.eclipse.update.ui/src/org/eclipse/update/internal/ui/model/UpdateModel.java b/update/org.eclipse.update.ui/src/org/eclipse/update/internal/ui/model/UpdateModel.java index 90d6eda..8c9a061 100644 --- a/update/org.eclipse.update.ui/src/org/eclipse/update/internal/ui/model/UpdateModel.java +++ b/update/org.eclipse.update.ui/src/org/eclipse/update/internal/ui/model/UpdateModel.java
@@ -175,6 +175,9 @@ IURLEntry info = feature.getLicense(); if (info == null) return false; - return info.getAnnotation() != null && info.getAnnotation().length() > 0; + String licenseTxt = info.getAnnotation(); + if (licenseTxt == null) + return false; + return licenseTxt.trim().length() > 0; } } \ No newline at end of file