Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/releng
diff options
context:
space:
mode:
authorJonah Graham2018-11-24 11:09:50 +0000
committerJonah Graham2018-11-24 11:22:15 +0000
commitf869a3f247afc6030a6d559996cd9e3ffb920a12 (patch)
treebc6df7ff6db8234a1ce885f6ffd911e88b4dca0c /releng
parent37ed2c406d0a019c18b65ecd418addf7af808f1f (diff)
downloadorg.eclipse.cdt-f869a3f247afc6030a6d559996cd9e3ffb920a12.tar.gz
org.eclipse.cdt-f869a3f247afc6030a6d559996cd9e3ffb920a12.tar.xz
org.eclipse.cdt-f869a3f247afc6030a6d559996cd9e3ffb920a12.zip
Bug 540373: Post code-cleanup for DSF examples
The DSF Examples contains some commented out source that is enabled via a script so this commit cleans that up for new formatting rules. Change-Id: I82c5e195cc3746415c659b2c0fc72b8118cdc56c
Diffstat (limited to 'releng')
-rwxr-xr-xreleng/scripts/check_code_cleanliness.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/releng/scripts/check_code_cleanliness.sh b/releng/scripts/check_code_cleanliness.sh
index 29952c4f7e4..c83b4d9e843 100755
--- a/releng/scripts/check_code_cleanliness.sh
+++ b/releng/scripts/check_code_cleanliness.sh
@@ -74,7 +74,11 @@ git ls-files -- \*\*/.project ':!core/org.eclipse.cdt.core/.project' | while re
sed -i \
'-es@compilers.p.not-externalized-att=1@compilers.p.not-externalized-att=2@' \
$d/.settings/org.eclipse.pde.prefs
-
+ fi
+ if echo $i | grep 'org.eclipse.cdt.examples.dsf' > /dev/null; then
+ sed -i \
+ '-es@org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning@org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore@' \
+ $d/.settings/org.eclipse.jdt.core.prefs
fi
fi
done

Back to the top