Fix code quality issues
This commit is contained in:
		
							parent
							
								
									0e30f4e817
								
							
						
					
					
						commit
						0d9bc188d7
					
				
							
								
								
									
										2
									
								
								tools/check/forbidden_strings_in_code.txt
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										2
									
								
								tools/check/forbidden_strings_in_code.txt
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							| @ -160,7 +160,7 @@ Formatter\.formatShortFileSize===1 | ||||
| # android\.text\.TextUtils | ||||
| 
 | ||||
| ### This is not a rule, but a warning: the number of "enum class" has changed. For Json classes, it is mandatory that they have `@JsonClass(generateAdapter = false)`. If the enum is not used as a Json class, change the value in file forbidden_strings_in_code.txt | ||||
| enum class===114 | ||||
| enum class===117 | ||||
| 
 | ||||
| ### Do not import temporary legacy classes | ||||
| import org.matrix.android.sdk.internal.legacy.riot===3 | ||||
|  | ||||
							
								
								
									
										2
									
								
								tools/check/forbidden_strings_in_layout.txt
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										2
									
								
								tools/check/forbidden_strings_in_layout.txt
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							| @ -24,7 +24,7 @@ | ||||
| # Extension:xml | ||||
| 
 | ||||
| ### Use style="@style/Widget.Vector.TextView.*" instead of textSize attribute | ||||
| android:textSize===9 | ||||
| android:textSize===11 | ||||
| 
 | ||||
| ### Use `@id` and not `@+id` when referencing ids in layouts | ||||
| layout_(.*)="@\+id | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user