findbugs: fix SF_SWITCH_NO_DEFAULT warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748090 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
84113f3c63
commit
64ae6dc0ff
@ -78,6 +78,8 @@ public class HSSFHyperlink implements Hyperlink {
|
||||
case LINK_DOCUMENT:
|
||||
record.newDocumentLink();
|
||||
break;
|
||||
default:
|
||||
throw new IllegalArgumentException("Invalid type: " + type);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -355,10 +355,11 @@ public class AreaReference {
|
||||
}
|
||||
delimiterPos = i;
|
||||
}
|
||||
default:
|
||||
continue;
|
||||
case SPECIAL_NAME_DELIMITER:
|
||||
// fall through
|
||||
default:
|
||||
continue; //continue the for-loop
|
||||
case SPECIAL_NAME_DELIMITER:
|
||||
break;
|
||||
}
|
||||
if(!insideDelimitedName) {
|
||||
insideDelimitedName = true;
|
||||
|
@ -779,6 +779,10 @@ public class SXSSFCell implements Cell {
|
||||
current=new HyperlinkProperty(value);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
throw new IllegalArgumentException("Invalid type: " + type);
|
||||
}
|
||||
}
|
||||
if(previous!=null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user