This commit is contained in:
paul-loedige 2021-01-07 22:32:52 +01:00
commit 3cb012d86b
2 changed files with 2 additions and 4 deletions

View File

@ -91,11 +91,9 @@ public class MainActivity extends AppCompatActivity {
case R.id.nav_favorite_IOs:
graph.setStartDestination(R.id.nav_favorite_IOs);
break;
case R.id.nav_plots:
graph.setStartDestination(R.id.nav_plots);
break;
default:
graph.setStartDestination(R.id.nav_all_IOs);
break;

View File

@ -71,12 +71,12 @@ public class XMLHandler implements IXML {
}
/**
* reads the buffer size from the XML file
* Reads the buffer size from the XML file.
* @param deviceName the name of the relevant device
* @return the buffer size as an {@link Integer}
*/
@Override
public int getBufferSize(String deviceName) {
public int getBufferSize(final String deviceName) {
XPathFactory xPathFactory = XPathFactory.newInstance();
XPath xPath = xPathFactory.newXPath();
try {