Here is a quick solution for those encountering the “Failure to Transfer” error in Maven.
Influence debugging is an efficient active debugging method by which you can ignore a large part of your code during bug hunting. You can go backward along influences exclusively until you catch the bug. Tricky missing code errors can also be detected by this new method.
Often developers writing code that they think is useful and relevant while they are not listening to their target audience, in this case not the end users of the systems but the people that are maintaining the platforms. The people that work on a daily base with these tools.
The Javadoc for the ChoiceFormat class states that ChoiceFormat "allows you to attach a format to a range of numbers" and is "generally used in a MessageFormat for handling plurals."
It’s been 10 years since I wrote my first unit test. Since then, I can’t remember how many thousands of unit tests I’ve written.
The selection of a more modular architecture tends to result in an organization with more (smaller) teams.
How you can use the Graph analysis and visualization Tool Gephi to have a look into the Package Dependency structure of your Java Project with a "graph perspective."
One of the most frequently voiced criticisms of the Java programming language is the amount of Boilerplate Code it requires.
While Spock can be used for some property-based testing, ScalaCheck and ScalaTest may be your best option.
At JavaZone I attended many great talks by brilliant speakers, but one was really head and shoulders above the lot: “Software Design, Why, When and How” by Kent Beck.
Property based testing is an alternative approach to testing, complementingexample based testing
In this post I would like to show an example of how to use JUnit Rule to make testing easier.
This article represents top 4 security vulnerabilities related coding practice to avoid while you are programming with Java language.
If you are a web developer, it is a no brainer that much of your professional life will be spent using Java. Thus, this article lists 15 Java tools that can make your life easier.
Ruby unit testing feels very nice and natural to write with RSpec. However I still love Java (or for this particular example anything with strong typing) and is still my main language, and in many cases is superior to Ruby.
I was recently reminded of a key insight included in a presentation from the Datical team at IBM Innovate 2014. They automate migration of databases changes (and naturally have an integration with UrbanCode Deploy).
An overview of the modern error tracking tools for Java developers: Raygun, Sentry, Takipi, Airbrake and Stack Hunter
Many of you readers are familiar with the Open/Closed principle. But so often, I encounter database connections not closed. Here are a few tips to keep that from happening.
Designing automated testing tools can be a difficult task. Not only do you have to surface all of the complexities involved in a variety of test structures but you also have to make all of those complexities accessible to a variety of audiences.
Typesafe is conducting another survey - part II of a survey, that is - regarding the adoption and users of Java 8. It's a quick survey, just two questions, and we should be hearing results within a few weeks.
Java 8 has added features such as lambdas and type inference. This makes the language less verbose and cleaner, however it comes with more side effects as you don't have to be as explicit in what you are doing.
A lot of people read up on good Python practice, and there's plenty of information about that on the Internet. Today I'd like to show a concrete case of code that I don't consider being the state of the art.
The old extracting function in AssertJ utilized reflections and did not allow the arbitrary extractions. The new approach addresses the issues.
At a recent DevOps convention, I learned some of the biggest challenges facing log management for developers. I've compiled some pros and cons for open-source logging solutions.