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: case R.id.nav_favorite_IOs:
graph.setStartDestination(R.id.nav_favorite_IOs); graph.setStartDestination(R.id.nav_favorite_IOs);
break; break;
case R.id.nav_plots: case R.id.nav_plots:
graph.setStartDestination(R.id.nav_plots); graph.setStartDestination(R.id.nav_plots);
break; break;
default: default:
graph.setStartDestination(R.id.nav_all_IOs); graph.setStartDestination(R.id.nav_all_IOs);
break; 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 * @param deviceName the name of the relevant device
* @return the buffer size as an {@link Integer} * @return the buffer size as an {@link Integer}
*/ */
@Override @Override
public int getBufferSize(String deviceName) { public int getBufferSize(final String deviceName) {
XPathFactory xPathFactory = XPathFactory.newInstance(); XPathFactory xPathFactory = XPathFactory.newInstance();
XPath xPath = xPathFactory.newXPath(); XPath xPath = xPathFactory.newXPath();
try { try {