⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 findbugs2

📁 JSP页面代码排错
💻
字号:
#! /bin/sh## Simplified findbugs startup script.# This is an experiment.#program="$0"# Follow symlinks until we get to the actual file.while [ -h "$program" ]; do	link=`ls -ld "$program"`	link=`expr "$link" : '.*-> \(.*\)'`	if [ "`expr "$link" : '/.*'`" = 0 ]; then		# Relative		dir=`dirname "$program"`		program="$dir/$link"	else		# Absolute		program="$link"	fidone# Assume findbugs home directory is the parent# of the directory containing the script (which should# normally be "$findbugs_home/bin").dir=`dirname "$program"`findbugs_home="$dir/.."# Handle FHS-compliant installations (e.g., Fink)if [ -d "$findbugs_home/share/findbugs" ]; then	findbugs_home="$findbugs_home/share/findbugs"fi# Make absolutefindbugs_home=`cd "$findbugs_home" && pwd`fb_pathsep=':'# Handle cygwin, courtesy of Peter D. Stoutfb_osname=`uname`if [ `expr "$fb_osname" : CYGWIN` -ne 0 ]; then	findbugs_home=`cygpath --mixed "$findbugs_home"`	fb_pathsep=';'fi# Handle MKS, courtesy of Kelly O'Hairif [ "${fb_osname}" = "Windows_NT" ]; then	fb_pathsep=';'fiif [ ! -d "$findbugs_home" ]; then	echo "The path $findbugs_home,"	echo "which is where I think FindBugs is located,"	echo "does not seem to be a directory."	exit 1fi# Choose default java binaryfb_javacmd=javaif [ ! -z "$JAVA_HOME" ] && [ -x "$JAVA_HOME/bin/java" ]; then	if [ `expr "$fb_osname" : CYGWIN` -ne 0 ]; then		fb_javacmd=`cygpath --mixed "$JAVA_HOME"`/bin/java	else		fb_javacmd="$JAVA_HOME/bin/java"	fifi# Default UI is GUI2fb_launchui="2"## Stuff we're going to pass to the JVM as JVM arguments.#jvm_debug=""jvm_maxheap="-Xmx768m"jvm_ea=""jvm_conservespace=""jvm_user_props=""## Process command line args until we hit one we don't recognize.#finishedArgs=falsewhile [ $# -gt 0 ] && [ "$finishedArgs" = "false" ]; do	arg=$1	case $arg in		-textui)			shift			fb_launchui="0"			;;		-gui)			shift			fb_launchui="2"			;;		-gui1)			shift			fb_launchui="1"			;;		-maxHeap)			shift			jvm_maxheap="-Xmx$1m"			shift			;;		-ea)			shift			jvm_ea="-ea"			;;		-javahome)			shift			fb_javacmd="$1/bin/java"			shift			;;		-debug)			shift			jvm_debug="-Dfindbugs.debug=true"			;;		-conserveSpace)			shift			jvm_conservespace="-Dfindbugs.conserveSpace=true"			;;		-property)			shift			jvm_user_props="-D$1 $jvm_user_props"			shift			;;			-D*=*)			jvm_user_props="$1 $user_props"			shift			;;		-version)			shift			fb_launchui="version"			;;		-help)			shift			fb_launchui="help"			;;		# All arguments starting from the first unrecognized arguments		# are passed on to the Java app.		*)			finishedArgs=true			;;	esacdone# Extra JVM args for MacOSX.if [ $fb_osname = "Darwin" ]; then	fb_jvmargs="$fb_jvmargs \		-Xdock:name=FindBugs -Xdock:icon=${findbugs_home}/lib/buggy.icns \		-Dapple.laf.useScreenMenuBar=true"fi## Launch JVM#exec "$fb_javacmd" \	-classpath "$fb_appjar$fb_pathsep$CLASSPATH" \	-Dfindbugs.home="$findbugs_home" \	$jvm_debug $jvm_maxheap $jvm_ea $jvm_conservespace $jvm_user_props \	-Dfindbugs.launchUI=$fb_launchui \	-jar $FINDBUGS_HOME/lib/findbugs.jar \	${@:+"$@"}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -