File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
src/test/java/cpubug/debugger Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1+ language : java
2+ sudo : false
3+
4+ script : " mvn clean install"
5+
6+ after_success :
7+ - bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change 1+ [ ![ Build Status] ( https://travis-ci.org/SplotyCode/Sploty4.svg?branch=master )] ( https://travis-ci.org/SplotyCode/Sploty4 )
12# Sploty4
23Sploty4 Browser made with Love and Java
34
Original file line number Diff line number Diff line change @@ -30,10 +30,10 @@ public Debugger(final BrowserTab browserTab) {
3030 getChildren ().add (tabs );
3131 }
3232
33- public DebugTab getDebugTabByClass (Class <? extends DebugTab > clazz ) {
33+ public < T extends DebugTab > T getDebugTabByClass (Class <T > clazz ) {
3434 for (final DebugTab tab : debugTabs )
3535 if (tab .getClass ().equals (clazz ))
36- return tab ;
36+ return ( T ) tab ;
3737
3838 Sploty .getLogger ().warn ("Count not find Debugging Tab named: '" + clazz .getSimpleName () + "'" );
3939 return null ;
You can’t perform that action at this time.
0 commit comments