|
How would you define "unwanted code"?
Edit: IMHO, Any code member with 0 active calling members (checked recursively) is unwanted code. (functions, methods, properties, variables are members)
Started by nils_gate on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
Here's my definition....
In java i'd mark not going to be very thorough .
Like you said in the other thread, code that is not used anywhere at all is pretty much unwanted-of-coding I bet there is a lot more but, that's how I'd define unwanted code.
|
|
Hi,I have an image and there is unwanted background-color coming to the image in IE6. Although it looks fine in all others IE6 messes it up with unwanted background-color.Any Ideas??
Started by vinay_rockin on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Is the image a transparent PNG image? If so, IE6 does simply not support... .
Check it out and see if there is any background-color definition there .
There are tools for Firefox (like CSSViewer ) that will show you all styles applied to a certain element .
|
|
I have not mentioned any dependencies in pom.xml, but the war created by maven has quite a few unwanted jars. Any idea why this is happening?
Answer Snippets (Read the full thread at stackoverflow):
Any idea why.
Any dependencies in pom.xml, but the war created by maven has quite a few unwanted jars.
|
Ask your Facebook Friends
|
Hi there - Please take a look at the following sites:
www.crandic.com
www.midwestsites.com
In IE7, an unwanted, horizonal scrollbar appears at the bottom of the browser for both sites. In FireFox 3.5.7, the scrollbar does not appear. Any suggestions would...
Started by cawilcox on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You can set a CSS rule to hide any x-axis content overflow:
body { overflow: -moz-scrollbars-vertical; overflow-x: hidden; overflow-y: scroll; }
It's caused by this line:
font: italic bold 100% Arial, Helvetica, sans-serif;
for .headertext in INT_CRANDIC... .
|
|
I am storing values in an array using the push function. The first value in array is being stored at 4 element instead of first element. For instance, after storing values when I print first element $array[1] it prints space/nothing but when I print the...
Started by shubster on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
All unwanted values:
@array = grep { not value_meets_shubster_s_definition_of_crap($_) } @array;
However, as pointed out by David Dorward, this eliminates unwanted values from the middle of the array { not is_unwanted($_) } @array....
|
|
I am currently working on an application which is around a decade old. When I looked in to the jar files which are associated with the application , I can see lots of jars which are not required and lots of different versions of same jar.
What are the...
Started by Umesh on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
By unwanted jar files in your application, do you.
That depends on just the old jar version you just removed .
|
|
I made mistake and didn't remove debugging lines from code before it was deployed to production and some information that shouldn't be in logs is in jboss log files. How can I make java program to filter all unwanted lines by keword? Or is there any tool...
Started by newbie on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you need more help, then give us some examples... .
Have a look at this, and if necessary read the log4j manual, it should hopefully be fairly self-explanatory .
JBoss's logging is handled by log4j, and the log4j configuration file is conf/jboss-log4j.xml .
|
|
My setup is a standard Windows 7, Visual studio 2008 and IIS 7.5 and I suffer from unwanted caching of usercontrols and masterpage files. Often but not always when I make changes in a usercontrol in Visual studio I have to reset the IIS to be able to ...
Started by Marcus on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
In case your....
How can you be sure that IIS is not picking up the new files, and that it isn't just your browser that is doing the caching?
In my experience the controls are recompiled when you update the .ascx file, but not when you update the .cs file .
|
|
Hey all!
What I would like to get some input on is how to remove certain characters from a textbox (or textarea) with JQuery. I have the code in C# but I can´t seem to translate that to JQuery javascript. My problem is that I don´t know how to get the...
Started by Johan Leino on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
I copy from the jquery documentation (jQuery.grep())
var arr = [ 1 .
Onkeypress / onkeyup) on the input/textarea, get the key pressed, if the key is an unwanted unwanted character try this example ..
|
|
Just doing a little touch up before finishing a conversion project and I have an unwanted border-bottom that needs to be removed.
The base code is:
a:link, a:visited { color: # ; text-decoration: none; border-bottom: 1px dotted #c6132e; }
However, I don...
Started by fmz on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Have you tried using the !important decleration? It may....
Should be:
ul#main_nav li a:link, ul#main_nav li a:visited, ul#main_nav li a:hover, ul#main_nav li a:active { border-bottom: none; }
Your rule is not applying to visited links .
You missed a comma.
|