Skip to content
This repository was archived by the owner on Dec 9, 2023. It is now read-only.

Commit 1a1753f

Browse files
remove unused properties
1 parent f34c2f0 commit 1a1753f

File tree

2 files changed

+0
-73
lines changed

2 files changed

+0
-73
lines changed

src/main/java/mediabrowser/model/dto/UserDto.java

Lines changed: 0 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,6 @@ public final void setServerId(String value)
4242
ServerId = value;
4343
}
4444

45-
/**
46-
Gets or sets the name of the server.
47-
This is not used by the server and is for client-side usage only.
48-
49-
<value>The name of the server.</value>
50-
*/
51-
private String ServerName;
52-
public final String getServerName()
53-
{
54-
return ServerName;
55-
}
56-
public final void setServerName(String value)
57-
{
58-
ServerName = value;
59-
}
60-
6145
/**
6246
Gets or sets the name of the connect user.
6347
@@ -116,36 +100,6 @@ public final void setId(String value)
116100
Id = value;
117101
}
118102

119-
/**
120-
Gets or sets the offline password.
121-
122-
<value>The offline password.</value>
123-
*/
124-
private String OfflinePassword;
125-
public final String getOfflinePassword()
126-
{
127-
return OfflinePassword;
128-
}
129-
public final void setOfflinePassword(String value)
130-
{
131-
OfflinePassword = value;
132-
}
133-
134-
/**
135-
Gets or sets the offline password salt.
136-
137-
<value>The offline password salt.</value>
138-
*/
139-
private String OfflinePasswordSalt;
140-
public final String getOfflinePasswordSalt()
141-
{
142-
return OfflinePasswordSalt;
143-
}
144-
public final void setOfflinePasswordSalt(String value)
145-
{
146-
OfflinePasswordSalt = value;
147-
}
148-
149103
/**
150104
Gets or sets the primary image tag.
151105
@@ -291,18 +245,6 @@ public final void setPrimaryImageAspectRatio(Double value)
291245
PrimaryImageAspectRatio = value;
292246
}
293247

294-
/**
295-
Gets a value indicating whether this instance has primary image.
296-
297-
<value><c>true</c> if this instance has primary image; otherwise, <c>false</c>.</value>
298-
*/
299-
//C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to .NET attributes:
300-
//ORIGINAL LINE: [IgnoreDataMember] public bool HasPrimaryImage
301-
public final boolean getHasPrimaryImage()
302-
{
303-
return getPrimaryImageTag() != null;
304-
}
305-
306248
/**
307249
Initializes a new instance of the <see cref="UserDto"/> class.
308250
*/

src/main/java/mediabrowser/model/users/UserPolicy.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -194,20 +194,6 @@ public final void setEnableContentDownloading(boolean value)
194194
EnableContentDownloading = value;
195195
}
196196

197-
/**
198-
Gets or sets a value indicating whether [enable synchronize].
199-
200-
<value><c>true</c> if [enable synchronize]; otherwise, <c>false</c>.</value>
201-
*/
202-
private boolean EnableSync;
203-
public final boolean getEnableSync()
204-
{
205-
return EnableSync;
206-
}
207-
public final void setEnableSync(boolean value)
208-
{
209-
EnableSync = value;
210-
}
211197
private boolean EnableSyncTranscoding;
212198
public final boolean getEnableSyncTranscoding()
213199
{
@@ -316,7 +302,6 @@ public final void setBlockedChannels(String[] value)
316302

317303
public UserPolicy()
318304
{
319-
setEnableSync(true);
320305
setEnableSyncTranscoding(true);
321306

322307
setEnableMediaPlayback(true);

0 commit comments

Comments
 (0)