donnemartin / donnemartin/notes
Issue : `mFileName` in `AudioPlayer` and `AudioRecorder` should not be static
Open
- Dominant language
- Java
- Stars
- 55
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
The `mFileName` fields in both `AudioPlayer` and `AudioRecorder` are declared as `static`. This means that all instances of these classes will share the same file name, which is likely not the intended behavior. Each instance of these classes should have its own unique file name. Remove the `static` keyword from the declaration of `mFileName` in both classes.
```java
// AudioPlayer.java
private String mFileName;
```
```java
// AudioRecorder.java
private String mFileName;
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.