niqueco

1

votes
2

answer
302

views

Eclipse: How can I have gradle dependencies deployed to Tomcat

I'm creating a web project using Gradle (buildship) in Eclipse (WTP). I've put the libraries I need as 'implementation' dependencies in my build.gradle, however they are not copied to Tomcat when I try to run the project from within Eclipse. When I build the WAR file (with gradle war), however, all...
niqueco
1

votes
0

answer
71

views

What's the fastest way of converting a collection to an array on Android?

In Java, for ages, when you wanted to convert a Collection into an array you did this: coll.toArray(new ItemObject[coll.size()]). However, in Android Studio I got a warning. Here's the full text of the warning's explanation as provided by Android Studio: There are two styles to convert a collection...
niqueco