Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston2018-08-24 19:39:12 +0000
committerJeff Johnston2018-08-24 21:01:59 +0000
commit63c9677b59a996b3813987f75f6111109dd84ecf (patch)
treec23670d53bc51996eb10c82e906377906aeccd4b
parenta504379b56543f8f2ddde5cdfe818948c3811fed (diff)
downloadorg.eclipse.linuxtools-63c9677b59a996b3813987f75f6111109dd84ecf.tar.gz
org.eclipse.linuxtools-63c9677b59a996b3813987f75f6111109dd84ecf.tar.xz
org.eclipse.linuxtools-63c9677b59a996b3813987f75f6111109dd84ecf.zip
Bug 509414 - IllegalArgumentException below ManParser.getRawManPage
- fix typos when creating Status class so that the plugin id is 2nd argument and message is 3rd instead of the other way round Change-Id: I8514020630470a668830c11618512d9a3d1fab07 Reviewed-on: https://git.eclipse.org/r/128052 Tested-by: CI Bot Reviewed-by: Jeff Johnston <jjohnstn@redhat.com> (cherry picked from commit b2490acec8ccd44b6a4cd51bea661689a4ef2c6a) Reviewed-on: https://git.eclipse.org/r/128053
-rw-r--r--man/org.eclipse.linuxtools.man.core/src/org/eclipse/linuxtools/internal/man/parser/ManParser.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/man/org.eclipse.linuxtools.man.core/src/org/eclipse/linuxtools/internal/man/parser/ManParser.java b/man/org.eclipse.linuxtools.man.core/src/org/eclipse/linuxtools/internal/man/parser/ManParser.java
index a60c103e1c..001a3c02f0 100644
--- a/man/org.eclipse.linuxtools.man.core/src/org/eclipse/linuxtools/internal/man/parser/ManParser.java
+++ b/man/org.eclipse.linuxtools.man.core/src/org/eclipse/linuxtools/internal/man/parser/ManParser.java
@@ -76,8 +76,8 @@ public class ManParser {
}
} catch (IOException e) {
Bundle bundle = FrameworkUtil.getBundle(ManParser.class);
- Status status = new Status(IStatus.ERROR, e.getMessage(),
- bundle.getSymbolicName());
+ Status status = new Status(IStatus.ERROR, bundle.getSymbolicName(),
+ e.getMessage());
Platform.getLog(bundle).log(status);
}
return manPaths;
@@ -126,8 +126,8 @@ public class ManParser {
stdout = process.getInputStream();
} catch (IOException e) {
Bundle bundle = FrameworkUtil.getBundle(this.getClass());
- Status status = new Status(IStatus.ERROR, e.getMessage(),
- bundle.getSymbolicName());
+ Status status = new Status(IStatus.ERROR, bundle.getSymbolicName(),
+ e.getMessage());
Platform.getLog(bundle).log(status);
}
return stdout;
@@ -152,8 +152,8 @@ public class ManParser {
}
} catch (IOException e) {
Bundle bundle = FrameworkUtil.getBundle(this.getClass());
- Status status = new Status(IStatus.ERROR, e.getMessage(),
- bundle.getSymbolicName());
+ Status status = new Status(IStatus.ERROR, bundle.getSymbolicName(),
+ e.getMessage());
Platform.getLog(bundle).log(status);
}
return sb;

Back to the top