- 
    
        
        mvn site : java.lang.ClassNotFoundException: org.apache.maven.doxia.siterenderer.DocumentContentGenerating a Maven report with mvn site, but hits the following errors Date: 2019-08-11 View: 2388 
- 
    
        
              Maven SpotBugs exampleIn this article, we will show you how to use SpotBugs Maven Plugin to find bugs in Java code. Date: 2019-08-11 View: 2504 
- 
    
        
        Java Global variable examplesIn Java, there is no global keyword, but we can use public static variable to referring a global variable. Date: 2019-08-11 View: 1486 
- 
    
        
              Maven PMD exampleIn this article, we will show you how to use Maven PMD Plugin to analyze the Java code. Date: 2019-08-11 View: 1573 
- 
    
        
        Maven How to force re-download project dependencies?In Maven, you can use Apache Maven Dependency Plugin, goal dependency:purge-local-repository to remove the project dependencies from the local repository, and re-download it again. Date: 2019-08-11 View: 1799 
- 
    
        
        Java JMH Benchmark TutorialIn Java, we can use JMH (Java Microbenchmark Harness) framework to measure the performance of a function. Date: 2019-08-11 View: 1725 
- 
    
        
        JMH Java Forward loop vs Reverse loopA JMH benchmark test about Forward loop vs Reverse loop for a List. There is a myth about reverse loop is faster, is this true? Date: 2019-08-11 View: 1398 
- 
    
        
        Git How to list committed files that are going to push ?In Git, we can use git show commit_id --name-only to list all the committed files that are going to push to the remote repository. Date: 2019-08-11 View: 1635 
- 
    
        
        Git How to remove files from staging (Changes to be committed)In Git, we can use git reset HEAD -- 'files/folders/patterns' to remove files or folders from the staging area (Changes to be committed). Date: 2019-08-11 View: 2378 
- 
    
        
        Git How to undo the last commit?In Git, we can use git reset --soft HEAD~1 to undo the last commit in local. (The committed files haven’t pushed to the remote git server) Date: 2019-08-11 View: 2019 
- 
    
        
        Java 8 Stream.iterate examplesIn Java 8, we can use Stream.iterate to create stream values on demand, so called infinite stream. Date: 2019-08-11 View: 1647 
- 
    
        
              Java Fibonacci examplesFibonacci number – Every number after the first two is the sum of the two preceding. Date: 2019-08-11 View: 1941 
- 
    
        
        Java Fork/Join Framework examplesThe fork/join framework is available since Java 7, to make it easier to write parallel programs. We can implement the fork/join framework by extending either RecursiveTask or RecursiveAction Date: 2019-08-11 View: 1575 
- 
    
        
        Java ScheduledExecutorService examplesIn Java, we can use ScheduledExecutorService to run a task periodically or once time after a predefined delay by TimeUnit. Date: 2019-08-11 View: 1622 
- 
    
        
              Intellij IDEA How to show method signature?In IDEA, clicks on the method name, press CTRL + Q to show the method signature on a pop up. Date: 2019-08-11 View: 1810 
