summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-06 14:01:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-06 14:01:56 +0000
commit3bf43b8d8e163f9cc18e8b430050f313f67e0a91 (patch)
treef532615a3aeda139e390de50423ef2bdc226daa3 /jvmfwk
parentda59e86c2954db30f0bba9f3f5978457cf62d977 (diff)
cppunit: prefer prefix variant
Diffstat (limited to 'jvmfwk')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/util.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
index 75c1a96de7bf..c423fa7d60af 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
@@ -705,7 +705,7 @@ bool getJREInfoFromBinPath(
sBinPath = path.copy(0, path.getLength() - 1);
typedef vector<OUString>::const_iterator c_it;
- for (c_it i = vecPaths.begin(); i != vecPaths.end(); i++)
+ for (c_it i = vecPaths.begin(); i != vecPaths.end(); ++i)
{
//the map contains e.g. jre/bin/java.exe
//get the directory where the executable is contained
@@ -901,7 +901,7 @@ rtl::Reference<VendorBase> getJREInfoByPath(
bool bBreak = false;
typedef vector<OUString>::const_iterator c_it;
- for (c_it i = vecPaths.begin(); i != vecPaths.end(); i++)
+ for (c_it i = vecPaths.begin(); i != vecPaths.end(); ++i)
{
//if the path is a link, then resolve it
//check if the executable exists at all
@@ -994,7 +994,7 @@ rtl::Reference<VendorBase> getJREInfoByPath(
OUString sVendor(RTL_CONSTASCII_USTRINGPARAM("java.vendor"));
OUString sVendorName;
- for (c_ip i = props.begin(); i != props.end(); i++)
+ for (c_ip i = props.begin(); i != props.end(); ++i)
{
if (sVendor.equals(i->first))
{