diff options
author | Andre Weinand | 2004-02-14 01:56:08 +0000 |
---|---|---|
committer | Andre Weinand | 2004-02-14 01:56:08 +0000 |
commit | cfadb02f09a22f76bb60d006943b797a5efe2149 (patch) | |
tree | 867bb4097dd79f61fc16aaf721b5235313801ee5 /bundles | |
parent | ff5af08a795a6bc56ee31481632dd206f866ae97 (diff) | |
download | eclipse.platform.team-cfadb02f09a22f76bb60d006943b797a5efe2149.tar.gz eclipse.platform.team-cfadb02f09a22f76bb60d006943b797a5efe2149.tar.xz eclipse.platform.team-cfadb02f09a22f76bb60d006943b797a5efe2149.zip |
fixed #51593
Diffstat (limited to 'bundles')
4 files changed, 18 insertions, 2 deletions
diff --git a/bundles/org.eclipse.compare/buildnotes_compare.html b/bundles/org.eclipse.compare/buildnotes_compare.html index d7e757250..ea2ad5172 100644 --- a/bundles/org.eclipse.compare/buildnotes_compare.html +++ b/bundles/org.eclipse.compare/buildnotes_compare.html @@ -11,6 +11,14 @@ <h1> Eclipse Platform Build Notes<br> Compare</h1> +Eclipse Build Input February 17th 2004 + +<h2> +Problem reports fixed</h2> +<a href="http://dev.eclipse.org/bugs/show_bug.cgi?id=51593">#51593</a>: ArrayIndexOutOfBoundsException at org.eclipse.compare.internal.patch.PatchWizard.setTargets<br> + +<h1> +<hr WIDTH="100%"></h1> Eclipse Build Input February 10th 2004 (M7) <h2> diff --git a/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/PatchWizard.java b/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/PatchWizard.java index 7e06b2d90..1ad13ef1d 100644 --- a/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/PatchWizard.java +++ b/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/PatchWizard.java @@ -69,7 +69,7 @@ import org.eclipse.compare.internal.*; } void setTargets(IResource[] targets) { - if (targets != null) + if (targets != null && targets.length > 0) fTarget= targets[0]; // right now we can only deal with a single selection } diff --git a/bundles/org.eclipse.compare/plugins/org.eclipse.compare/buildnotes_compare.html b/bundles/org.eclipse.compare/plugins/org.eclipse.compare/buildnotes_compare.html index d7e757250..ea2ad5172 100644 --- a/bundles/org.eclipse.compare/plugins/org.eclipse.compare/buildnotes_compare.html +++ b/bundles/org.eclipse.compare/plugins/org.eclipse.compare/buildnotes_compare.html @@ -11,6 +11,14 @@ <h1> Eclipse Platform Build Notes<br> Compare</h1> +Eclipse Build Input February 17th 2004 + +<h2> +Problem reports fixed</h2> +<a href="http://dev.eclipse.org/bugs/show_bug.cgi?id=51593">#51593</a>: ArrayIndexOutOfBoundsException at org.eclipse.compare.internal.patch.PatchWizard.setTargets<br> + +<h1> +<hr WIDTH="100%"></h1> Eclipse Build Input February 10th 2004 (M7) <h2> diff --git a/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/PatchWizard.java b/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/PatchWizard.java index 7e06b2d90..1ad13ef1d 100644 --- a/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/PatchWizard.java +++ b/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/PatchWizard.java @@ -69,7 +69,7 @@ import org.eclipse.compare.internal.*; } void setTargets(IResource[] targets) { - if (targets != null) + if (targets != null && targets.length > 0) fTarget= targets[0]; // right now we can only deal with a single selection } |