Posts

How do I find all references (i.e., dependencies, afferent couplings) to a Java class? -

using eclipse, can select class , list references ( ctrl + shift + g ). i'm looking mechanism entire development team obtain same list of references central location, such sonarqube server. when drill down class on sonarqube, shows me number of afferent couplings. how can find out are? know take huge amount of time/space sonar generate kind of report, maybe there's plug-in can calculate requested (as per execution of jenkins job). any suggestions of solutions can used list dependencies (afferent couplings) java type in given codebase help. after long search, found, experimented with, configured, , rolled out solution problem our entire java development organization. here's summary of solution: we have several java projects, broadly divided libs , (web) applications. applications can use different libs. challenge find in our entire codebase callers of given class/method/constructor in 1 of our libs. we use continuous integration tool (jenkins) builds lib...

wpf - How to Stretch window? -

i've problem window control in wpf project. don't find how stretch (resize) window or grid inner it. try attach properties horizontalcontentalignment = "stretch" , verticalcontentalignment = "stretch" consistent on both controls, nothing. have idea wrong ? that part xaml: window title="mywindow" allowstransparency="true" background="transparent" windowstyle="none" <grid x:name="maingrid" horizontalalignment="stretch" verticalalignment="stretch"> <border x:name="mainborder" background="{dynamicresource shellbackground}" cornerradius="15" borderthickness="3" margin="0,0,10,9"> <grid background="{dynamicresource brandingbrush}"> <grid.rowdefinitions> <rowdefinition height="30" /> <rowdefinition height="auto...

javascript - How to make scroll keep down, but don't want to lock -

i making shoutbox. want when retrieves data keep scroll down. in facebook scroll keep remains down. using javascript goes lock, prevent scroll top. using code : document.getelementbyid('txthint').scrolltop = 10000; <div id="txthint" style="width:700px;height:500px;overflow:auto;" > <!-- here data displayed --> </div> the problem that, prevents me scrolling up. try using offsettop property. suggest putting hidden div @ end of div in text scroll down(hidden div should alwasy @ bottom), , should apply scrolltop document.getelementbyid('txthint').scrolltop = document.getelementbyid('s_hidden').offsettop; <div id="txthint" style="width:700px;height:500px;overflow:auto;" > <!-- here data displayed --> <div id="s_hidden"></div> </div>

android - Andengine Live wallpaper slow reload -

after making many live wallpapers in andengine , problem still face andengine. when used original extension, when rotating device , returning home screen apps there blink of screen(unscaled background) , 0,5 sec lag (resources reloading). had seen many live wallpapers out issue. , had seen problem in devices, tab iberry give issue samsung tab don't produce issue, , issue don't give out error, cant find report app. problem thread i had seen problem being faced many http://www.andengine.org/forums/live-wallpaper-extension/slow-reload-after-onresume-t4183-70.html temporary solution i had tried out solution https://github.com/gigiigig/andenginelivewallpaperextensionimproved has many other problems, hope can find solution slow reload problem makes andengine live wallpaper extension question.

web - How to fix Joomla 1.5 website -

i had old website joomla 1.5 , upgrade latest version. in mean time, tried install com_akeeba-3.4.3-core extension (to take backup) left website down. now, can not access both admin , user pages. i looked @ database couldn't find component there. should fix it? thanks thank faridiv, enabled error reporting , there error in file folder.php under libraries/joomla/filesystem. and, can view website.

c# - Perforce .NET API Edit Files Not Checked Out -

i trying use perforce .net api edit files in workspace default changelist. however, when run edit command doesn't appear in p4v front-end if has happened. files still in depot not checked out. there option missing or else need include? files include list of files trying check out there no obvious result of command. mperforceconnection.client.editfiles(filespec.unversionedspeclist(files), null); i have tried adding options don't seem me anywhere. don't want add changelist trying enter them on default 1 have entered 0 parameter. perforce.p4.options options = new options(editfilescmdflags.none, 0, null); any thoughts? issue filename contained @ sign. thought other characters may have caused issue. didnt expect @ sign to.

asp.net - Page loading twice -

i'm working on asp.net 4.0 webforms site , i'm trying out routing. thought worked fine until discovered 1 of pages loaded twice when using routing. i got in global.asax.cs : private void application_start(object sender, eventargs e) { registerroute(routetable.routes); } void registerroute(routecollection routes) { routes.mappageroute("noregion", "{language}/region", "~/region.aspx"); routes.mappageroute("region", "{region}/{language}/region", "~/region.aspx"); } why region.aspx loaded twice when using either route? edit : well, had application_error setup redirect default page (region) when there 404. happened site couldn't find favicon.ico redirected page hence double loading. removed , retried it, did not work! i'm pulling hairs here. edit 2 : adding favicon.ico 'fixed' it. edit 3 : web.config had customerrors enabled: <error statuscode="404" redirect=...